Operating System - HP-UX
1855421 Members
3373 Online
104110 Solutions
New Discussion

account are restricted by UID

 
Cristina McLeod
Occasional Contributor

account are restricted by UID

How do you make
password changes for the account to be restricted by UID
I have the will but can't find the way...
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: account are restricted by UID

By operating sysetm default only a superuser can change other users passwordsd.

if user jsmith type the command passwd fjones

It should fail.

I probably don't understand your question though. Could you please elaborate.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Govind
Frequent Advisor

Re: account are restricted by UID

Only UIDs that are Non Zero can change their own passwords. You dont have to do anything special to achieve it. However Root can change anyones password.
-Govind
Dont try to fix something till it Aint Broke...Honesty is not always the best policy.....
Darren Prior
Honored Contributor

Re: account are restricted by UID

Hi,

If this is a trusted system you need to ensure that u_pswduser=root in the /tcb/files/auth/system/default file, so that only root and the user can change the password.

If you're suggesting having an account where the user cannot change their own password - maybe because it is shared between a few people - I don't believe there's a way to implement this; short of hiding the passwd command. This wouldn't be recommended.

regards,

Darren.
Calm down. It's only ones and zeros...
Cristina McLeod
Occasional Contributor

Re: account are restricted by UID

Thank you gentlemen for your quick response.

I, myself, also got confused with how it was worded.

But I found out the only thing it meant was, the user or the account is not allowed to change it's own password.
I have the will but can't find the way...
Govind
Frequent Advisor

Re: account are restricted by UID

Ok I think I know what exactly you are looking for. To Prevent Users changing their passwords on the HPUX workstations you have to append their passwords with ,./ Or the better way of doing it is through SAM.
SAM-->Accounts For Users And Groups---> "Double click on the User Name"----> Select Modify Password Options... -----> Allow Only Super User to Change the password.
This should work for you.
Regards
Govind
Dont try to fix something till it Aint Broke...Honesty is not always the best policy.....
Cristina McLeod
Occasional Contributor

Re: account are restricted by UID

Thanks very much. That's what I'm looking for.
I have the will but can't find the way...