1824941 Members
3829 Online
109678 Solutions
New Discussion юеВ

chage password

 
Prakash Nair
Occasional Contributor

chage password

How to allow a particular user to have the privilage of changing password of other users?

Thanks
Prakash
5 REPLIES 5
Rick Garland
Honored Contributor

Re: chage password

Give the user root access, put into place something like sudo, setup restricted SAM.
Anthony Goonetilleke
Esteemed Contributor

Re: chage password

Sudo is probably the best as you can do things like this in the sudoers conf file

pete machineA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root

which means pete can change the password for anyone on machineA except for root.
and with a bit of imagination you can do anything
Minimum effort maximum output!
Richard Mertz
Regular Advisor

Re: chage password

you can give non root users access to restricted sam functionality.

run sam -r

you will then have the ability to decide what sam funcionality you want to give individual users. I have given our security guy an account that allows him access to sam's users functionality. He has no other access.
What anybody thinks of me is none of my business.
Rita C Workman
Honored Contributor

Re: chage password

Restricted Sam < sam -r > and that way you can give what specific priviledges to whichever user. It's quick and easy.
Manju Kampli
Trusted Contributor

Re: chage password

use sam -r command to provide restricted access to sam. There you first select the user to whom you want to provide access and then you select the previlage from the sam menus. in your case select "Accounts for Users and Groups" -->Select Users --> goto action and select Enable.

This will provide the user to perform all the sam activities available under user menus ( creation,modify,deletion,activate,deactivate...)
Never stop "LEARNING"