- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: force users to change their pwd
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
11-08-2004 12:40 AM
11-08-2004 12:40 AM
force users to change their pwd
i have approx 160 users om my ux server.
and they use a client application on PC's
name BaaN erp software so while using this software there is a username&passwd screen
welcome them.On ux side we do not use any pwd
aging so this means they always use same
pwd when their account created at once...
Now at first;i want to reset their pwds and
force them to change every month
Secondly;how can i organize on their PC's side
like a batch file runs like a telnet menu
login:
passwd:
newpasswd:
or is there any free tool which is running from PC's and give any user to change his/her
UX account pwd?
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 12:52 AM
11-08-2004 12:52 AM
Re: force users to change their pwd
as root.
to do it on a mass basis, see the utility script I'm attaching. It will let you read a copy of /etc/passwd, which can server as a list of the 160 users you want to be forced to change their password.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 12:53 AM
11-08-2004 12:53 AM
Re: force users to change their pwd
passwd -f "user_name"
You can then, set a cron job which will run every month to do thie.
If your system is in trusted mode, you can set exptm parameter for it.
for you requirement, you may need to look at expect tool. (check if there is expect toll available for Window$)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:10 AM
11-08-2004 01:10 AM
Re: force users to change their pwd
As already mentioned, convert the system to trusted and then set the 'password expiry' too 30 days. Even without trusted systems, you can do it with -x option. However, you will have to do it for each user.
I don't believe there is any free tool. There are commercial softwares like control-sa etc., available. You can create a small website for yourself.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 01:31 AM
11-08-2004 01:31 AM
Re: force users to change their pwd
In the passwd file you can put the characters <,..> at the end of the passwd field for each user account. This is what the passwd -f
Using awk to get the 2nd record of the passwd file and then using sed to insert the ,.. at the end of this record will achieve the desired results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2005 09:00 PM
05-01-2005 09:00 PM