tobyaw: (Default)
Toby Atkin-Wright ([personal profile] tobyaw) wrote2007-08-24 07:11 pm
Entry tags:

Installing sudo on Solaris 10

Install the Sun developer tools, and curl. Then:
$ curl -O ftp://ftp.sudo.ws/pub/sudo/sudo-1.6.9p4.tar.gz
$ gunzip sudo-1.6.9p4.tar.gz
$ tar -xf sudo-1.6.9p4.tar
$ cd sudo-1.6.9p4
$ ./configure
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install


The sudo configuration is stored in a file /etc/sudoers which is edited by running /usr/local/sbin/visudo as root. To allow all members of the staff group to use sudo, add the line:
%staff  ALL=(ALL) SETENV: ALL

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org