Question : Help with SCSUDO to root access

Hello,
Can you help me in resolving the issue?
this is my requirement:
users need to have SCSUDO to root for running dsadm command that comes with directory server installation under- /export/opt/SUNWdsee/ds6/bin/

Can you guys please help me how to give access to users for this requirement.

Thanks in advance,
MSK

Answer : Help with SCSUDO to root access

I got this from a website:

SUDO for solaris
 
Installing Packages from website
Download from http://www.sunfreeware.com/ftp/pub/freeware/companioncd/intel/nevada/

Unzip compressed package
bunzip2 SFWsudo.pkg.bz2

Install package
pkgadd -d SFWsudo.pkg


Using sudo package
ln -s /opt/sfw/sbin/visudo /usr/sbin/visudo
ln -s /opt/sfw/bin/sudo /usr/bin/sudo
ln -s /opt/sfw/etc/sudoers /etc/sudoers

Add wheel group and users to wheel group
cat /etc/group | grep wheel
wheel::11:root,anwar

Uncomment the line in /etc/sudoers
cat /etc/sudoers | grep wheel | grep -v \#
%wheel ALL=(ALL) NOPASSWD: SETENV: ALL

sudo needs to be setuid root in order to work
chmod 4111 /opt/sfw/bin/sudo

then login as your user, then type sudo su -
Random Solutions  
 
programming4us programming4us