sudo documents

I have installed sudo on our development server (SPARC,Solaris 9) and trying to edit /etc/sudoers file using visudo. Referred the following sites and not able to find the way.

http://www.kempston.net/solaris/sudo.html

To start with sudo, my query is so simpe. I have added an user by name 'sudouser' to my /etc/passwd using useradd. I am able to login to the server as sudouser and when I tried to change the password of one of the users, it returns with "permission denied". I tried with various entries in /etc/sudoers file.

Pl tryto send me some useful links with the best possible simple syntax.Also if you can pl try to mail me the entries that are to be made in the /etc/sudoers file.I appreciate that.

Thanks in advance.

Hello,

The sudo cmd allow a dedicate user or to switch root using the su cmd or to run cmd that have been aliases on the suoers file.

A simple example, on the sudoers file type:
#User alias
User_Alias SUDOUSER=sudouser
#User specification
SUDOUSER ALL=ALL

Then, logged as sudouser type:
su -
At the passwd prompt type the sudouser passwd... You are then logged as root.

Hi Solea

Thanks for the information.

Right now I am logging in as sudouser and then executing the associated commands by the follolwing syntax.

$ sudo passwd <username>

Very nice information.

Hello,

I wrote
Then, logged as sudouser type:
su -

You must read
Then, logged as sudouser type:
sudo su -

:o