Operating System - HP-UX
1820278 Members
2823 Online
109622 Solutions
New Discussion юеВ

useradd Permission Denied

 
Eamezquita
Occasional Contributor

useradd Permission Denied

Hi.
I need to give to some users grants to create, modified, delete users in mi system (hp-ux 11.00, hp9000 L200), i created a user with uid=110(rjc10206) gid=0(root) groups=2(bin),3(sys),4(adm)but it is not working.
Someone can help me.

Thanks
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: useradd Permission Denied

You have 2 options:

1) Set up restricted sam (do 'sam -r' as root for setup) for these users and just give them access to the functionality you want.

2) Download and install sudo:

http://www.sudo.ws/sudo/
or
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/

And set up permissions in sudo for the users to use useradd, etc.
Deoncia Grayson_1
Honored Contributor

Re: useradd Permission Denied

You may consider doing this by using Restricted SAM:

sam -r, this will allow you to provide limited non-superuser access to SAM functionality, such as adding users to your server.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon