1834650 Members
2462 Online
110069 Solutions
New Discussion

Privileges

 
SOLVED
Go to solution
Narjis Zaidi
Occasional Advisor

Privileges

Dear All,

Is there any way to give access
to certain users to be able to change
passwords of all other users apart from
root?
Any help would be greatly appreciated.
6 REPLIES 6
Vincenzo Restuccia
Honored Contributor

Re: Privileges

Edit a C program with passwd user,insert a if>then>else user=root exit and chmod 4501.
Paul Murray_1
Frequent Advisor
Solution

Re: Privileges

Hi there,

The easiest way to accomplish this is via SAM. From the root account run "sam -r" to enter the resticted SAM administration window.

From there, you can assign the "Account Maintenance" areas to any user you require.

Hope this helps,

Regs,
Paul.
Just remember, nobody knows everything !!
Pedro Sousa
Honored Contributor

Re: Privileges

Hi.
another way to do this is with SUDO (http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/)
You can give any priviliges with this SW.
good luck.
Narjis Zaidi
Occasional Advisor

Re: Privileges

Thank you all very much for this - it is exactly what I was looking for.
Thanks again
Paul Murray_1
Frequent Advisor

Re: Privileges

Me again ...

I forgot to add, that restricted SAM will not allow root password modifications.

Regs,
Paul.
Just remember, nobody knows everything !!
Shannon Petry
Honored Contributor

Re: Privileges

Sudo is another option.....You can setup groups or users to access commands as root. I use this more for mounting cd's, but as you can specify which command and who can access at what level, sudo gives alot of flexibility!

NOTE: None of the options given will work with NIS or NIS+!!!!

Regards,
Shannon
Microsoft. When do you want a virus today?