Operating System - HP-UX
1846964 Members
4637 Online
110257 Solutions
New Discussion

user admin by non-root user

 
SOLVED
Go to solution
Adam Noble
Super Advisor

user admin by non-root user

As per my normal forum discussions a vague subject matter again. We have a server which has a high turnover of new user requests, due to the trivial nature of adding users we were hoping to offload this task onto another team. We currently have a script we use to add the users which obviously runs as root. Can I get that script to run for a specific user (setting the sticky bit?), alternativiley how can I get non-root users to create user-ids securely. Apologies I have been looking for any white papers on this sort of thing without success.Any ideas would be appreciated.
6 REPLIES 6
Niraj Kumar Verma
Trusted Contributor
Solution

Re: user admin by non-root user

Hey !!!


use sudo
ftp://ftp.cs.colorado.edu/pub/sudo/

-Niraj
Niraj.Verma@philips.com
Adam Noble
Super Advisor

Re: user admin by non-root user

Thanks rings a bell and I have now located a couple of white papers. Cheers
Niraj Kumar Verma
Trusted Contributor

Re: user admin by non-root user

Hey !

you can find more info about sudo here

http://www.courtesan.com/sudo/

Regards
-Niraj
Niraj.Verma@philips.com
Adam Noble
Super Advisor

Re: user admin by non-root user

yes thanks, I have actually used it before I believe I was just being dim, thanks anyway!
Pete Randall
Outstanding Contributor

Re: user admin by non-root user

Adam,

Don't forget to check out restricted SAM (sam -r). Sounds like exactly what you want to me.

Pete

Pete
Adam Noble
Super Advisor

Re: user admin by non-root user

yeh thanks Pete, the only problem with that is it would be a two prong process, as the script that runs creates access to certain applications aswell. Anyway thanks!