Remi
1
Hi.........
I'm trying to set a group of users to login to do a required super-user tasks without knowing the super-user passwd.
For example...a user popodude logs in as self with passwd..system accepts the password & then automatically asks for the super-user account passwd.
My goal is for the system to take this user directly to the task without asking for the super-user passwd.
Thanks,
Remi
login: popodude
Password:
Last login: Fri May 18 11:46:01 from swnee10w0012
Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004
Password:
mhm4
2
Update profile to use sudo.
Ex sudo entry:
Cmnd_Alias restrictedcmds = /usr/sbin/pkgadd, /usr/sbin/pkgrm
user1 ALL=(ALL) NOPASSWD:restrictedcmds