Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nsrjb for non-root users 2

Status
Not open for further replies.

nabrantes

MIS
Apr 2, 2002
17
0
0
PT
Hello Im tying to run "nsrjb" command has a non-root user but so far Im not being able to do it, I´ve tryied using setuid and rbac but it wont work if Im not root.

Is there any workarround to do this?

I found a technical sheet from Legato that Obsoletes the setuid workaround used on previous versions.

Does the rbac way manage to do dids perhaps Im doing something wrong...

The OS is Solaris 8 sparc and its Legato Networker 6.0

Thanks in advance
 
sudo should be good for this, although you may want write some wrapper scripts that can limit what a user can do - giving a normal user complete access to all of nsrjb's functionality can be dangerous.
 
#chmod 6755 /usr/sbin/nsrjb
#ls -l /usr/sbin/nsrjb
-rwsr sr w
#non-root user will be in "bin" group
 
#chmod 6755 /usr/sbin/nsrjb
#ls -l /usr/sbin/nsrjb
-rwsr sr w root bin
#non-root user will be in "bin" group
 
well duh!!

Sometimes we really need someone to open our eyes, thanks for your help barye the procedure works nice.

Chapter11 the problem with SUDO is that its not approved by Sun and its does the same thing rbac does, but thanks for your help also.

Best Regards

Nuno Abrantes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top