- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: How to create user that ask for passwd the fir...
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
тАО04-26-2004 12:51 AM
тАО04-26-2004 12:51 AM
I want to create an user and that the first time that it connects to the server the server ask for the passwd, and the user put the passwd that it wants.
How could I do this whith useradd and what options???
Thanks!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 01:18 AM
тАО04-26-2004 01:18 AM
Re: How to create user that ask for passwd the first connection
script file or code should be something like that
...
if [ -f $HOME/.firstlogin ]; then
if passwd then;
rm -f $HOME/.firstlogin
fi
fi
...
Sure you have to create /home/user/.firstlogin
when you create the user
Hope it helps.
Peace, R>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 01:36 AM
тАО04-26-2004 01:36 AM
Re: How to create user that ask for passwd the first connection
but I need to put first one passwd... I would like that the first time it ask me for the passwd.... something like that:
login: XXXXXXX
Your password has expired. Choose a new one
Changing password for perform
New password:
Thanks!!
Carmen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 02:27 AM
тАО04-26-2004 02:27 AM
Re: How to create user that ask for passwd the first connection
Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 09:10 PM
тАО04-28-2004 09:10 PM
Re: How to create user that ask for passwd the first connection
Tru64 : C2 Security : How to Force Password Change at Next Login
The user account entry in the password protected database needs to have present the keyword field identifier:
:u_psw_change_reqd:
This can be applied through the usermod program
# usermod -x passwd_must_change=1