Sudo (su “do”) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root while logging all commands and arguments
Sudo is supplied in source form and you need to compile it.
This isn’t difficult! Before doing so, you need to have installed the g(un)zip program and a C compiler.

Installing sudo.

Prefare the source download it from http://www.courtesan.com/sudo/download.html,
# uname -a
SunOS 5.9

# wget ftp://ftp.sudo.ws/pub/sudo/sudo-1.6.9p5.tar.gz
# gunzip -dc sudo-1.6.9p56.tar.gz |tar xvf -
# cd sudo-1.6.9p5
# ./configure
# ./make
# ./make install

Environment Parameter ( .added in .profile User$)
# export PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin
# export MANPATH=$MANPATH:/usr/man/:/usr/local/man

Added Sudoers
# visudo

find
# User privilege specification
root ALL=(ALL) ALL

Added
users ALL=(ALL) NOPASSWD:ALL

$ sudo vi /etc/passwd

Done..

Popularity: 16% [?]

You Should Also Check Out This Post:

More Active Posts: