- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- user must change password at first logon
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
Discussions
Discussions
Forums
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
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
тАО06-19-2008 05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 05:35 AM
тАО06-19-2008 05:35 AM
Re: user must change password at first logon
See also:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1237877
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 12:14 AM
тАО06-20-2008 12:14 AM
Re: user must change password at first logon
we have two issues/demands
1, user must change password at first logon
solution: chage -d 0
OK, done.
2, at 15th of every month each user password must expires, and every user must have to change his/her password
regards
maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 12:45 AM
тАО06-20-2008 12:45 AM
Re: user must change password at first logon
http://www.cyberciti.biz/tips/linux-set-default-password-expiry-for-all-new-users.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 04:05 AM
тАО06-20-2008 04:05 AM
Re: user must change password at first logon
using /etc/login.defs alone, is not the solution .. because if a user has changed his/her password on 8th .. his/her password wont expires on 15th of that month.
what i need is that at 15th of each month every user must has to change his/her password.. or password must expires on 15th of every month for ever user.
I think it will be done by a script... am i right ? if yes then please share the code ;)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2008 04:17 AM
тАО06-20-2008 04:17 AM
SolutionAlso, think about your users, changing passwords each month can be problematic, even for your administrators/help desk support.
Anyway, you can run in cron something like:
for USER in $( awk -F ":" '$3 > 500 { print $1 }' /etc/passwd)
do
chage -d 0 $USER
done
This will force all users with UID > 500 to change their passwors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2008 06:06 AM
тАО06-21-2008 06:06 AM
Re: user must change password at first logon
yes this is a strange issue, but this the customers requirement.
does this also works with ldap server ? i.e does "chage -d 0
I am asking this question becuase the customer is asking about migration from NIS to LDAP domain...
Regards,
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 03:12 AM
тАО06-22-2008 03:12 AM
Re: user must change password at first logon
According to "man chage", you can specify a binDN, that is, information to modify a LDAP directory server.
And tell your customer that should forget about NIS at this time.