- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Prevent user from changing their password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 06:57 AM
07-31-2006 06:57 AM
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:09 AM
07-31-2006 07:09 AM
Re: Prevent user from changing their password
/usr/sam/lbin/usermod.sam -p *,./ $USER
as you can guess, since this is a SAM specific command script, it is not supported by hp and may change at any time.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:10 AM
07-31-2006 07:10 AM
Re: Prevent user from changing their password
I have never done something like, but if it's possible to implemented it is done converting your server to a trusted system.
You basically want to go to sam, auditing and security, audited users and if your system is not converted to trusted it will ask you to, if not go to the actions menu and select convert system.
After it select a user and play the the policies available for it.
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:11 AM
07-31-2006 07:11 AM
Re: Prevent user from changing their password
Just curiosity: why do you need this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:16 AM
07-31-2006 07:16 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:20 AM
07-31-2006 07:20 AM
Re: Prevent user from changing their password
The reason I need to do this is the password was changed but the user deny's any knowledge of doing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:36 AM
07-31-2006 07:36 AM
Re: Prevent user from changing their password
A. Clay Stephenson,
I was thinking along those lines however we have over 450 users on this system and I need to prevent just one user. If I enabled password
aging, I believe it could potentially break numerous other accounts and scripts. Is there a way to enable password aging for one account?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:44 AM
07-31-2006 07:44 AM
Re: Prevent user from changing their password
u can use passwd aging for one user alone.
passwd aging is simply for one user only.
"man passwd" will give you information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 07:59 AM
07-31-2006 07:59 AM
Re: Prevent user from changing their password
I read the man pages before posting, but the answer didn't jump out at me. I will give it a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 08:02 AM
07-31-2006 08:02 AM
Re: Prevent user from changing their password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 08:11 AM
07-31-2006 08:11 AM
Re: Prevent user from changing their password
transpire before the user can change the password.
-x max Determine the maximum number of days, max, a password
can remain unchanged. The user must enter another
password after that number of days has transpired,
known as the password expiration time.
----------------------------------------------------------
now, if min days is greater than max days, the user able to cannt change their password.
try like this (as a root):
passwd -n 10 -x 5 username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:01 AM
08-01-2006 03:01 AM
Re: Prevent user from changing their password
I have a cronjob running on each (NIS)-Server which checks the /etc/passwd (+ /etc/shadow if used) and collects and analyzes changes.
These are reported to a logfile, so I can tell the user, when a password (or other data of his acount) have changed.
I cannot attach the script now, but I will do it on request tomorrow.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 04:05 AM
08-01-2006 04:05 AM
Re: Prevent user from changing their password
"I have a cronjob running on each (NIS)-Server which checks the /etc/passwd (+ /etc/shadow if used) and collects and analyzes changes."
Are you running auditing? I think that would pick up 'passwd' changes.
Still, your method may be simpler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 04:40 AM
08-01-2006 04:40 AM
Re: Prevent user from changing their password
Did you check their shell history and see if they ran the passwd command? Unless they killed the history file. That should be an easy way to prove they did it.