Link to home
Start Free TrialLog in
Avatar of wauger
wauger

asked on

Regular user to run useradd?

Ok. So I need to be able to setup a general account that users will login in with. This account will run a script that, basically, creates a user account for them on the machine. I know this isnt a very clean way of doing this, but bear with me.
So my question is, how can I setup permissions for this general account to be able to to run the useradd command without giving the account same access as ROOT? What would be the best way of doing this? Thanks much.
ASKER CERTIFIED SOLUTION
Avatar of liddler
liddler
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CadburyKat
CadburyKat

chmod 4711 /usr/sbin/useradd