Operating System - HP-UX
1748227 Members
4503 Online
108759 Solutions
New Discussion

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

 
somanaboina_522
Occasional Advisor

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

4 REPLIES 4
Bill Hassell
Honored Contributor

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



Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

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.

somanaboina_522
Occasional Advisor

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

Dennis Handly
Acclaimed Contributor

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.