How to change password of a user with other user (not with root) ? (289 Views)
Reply
Occasional Advisor
somanaboina_522
Posts: 11
Registered: ‎02-15-2013
Message 1 of 5 (289 Views)

How to change password of a user with other user (not with root) ?

Hi everybody,

 

 

   In HP-UX 11iv3 server i have 5 users except root. I want to give password change permission of 5 users to any one of the user other than root. how can I achieve it ?

 

Kindly explain the procedure.

 

 

Thanks

somana

Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,205
Registered: ‎05-29-2000
Message 2 of 5 (273 Views)

Re: How to change password of a user with other user (not with root) ?

This is an ideal requirement for sudo. You specify the usernames that are allowed to run passwd plus the 5 usernames that are permitted. If sudo is not installed on your system, get a copy from HP's Internet Express at software.hp.com

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,978
Registered: ‎03-06-2006
Message 3 of 5 (270 Views)

Re: How to change password of a user with other user (not with root)?

So you want any of the 5 users to be able to change any of the 5 passwords?

This is scary.  Other than the fact you have 5 home directories, it's the same as a shared account.

Please use plain text.
Occasional Advisor
somanaboina_522
Posts: 11
Registered: ‎02-15-2013
Message 4 of 5 (258 Views)

Re: How to change password of a user with other user (not with root)?

Hi Dennis,

 

Well ..I will explain ..

 

In our environment one  ID is used by 80 users, if any user did a mistake ( typing wrong password) would lock all 80 users login ,at that movement if administrator is unavailable then it is a problem.

To avoid this issue if we can give permission to other user to change or unlock the password could reduce the impact.

 

If you have any other thought  will appreciate your effort.

 

 

Thanks

Somana

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,978
Registered: ‎03-06-2006
Message 5 of 5 (251 Views)

Re: How to change password of a user with other user (not with root)?

>In our environment one  ID is used by 80 users

 

Ok, so you want these 4 users to be able to change this shared account?

sudo should work fine.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation