LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2004, 11:01 AM   #1
liguorir
Member
 
Registered: May 2003
Posts: 256

Rep: Reputation: 30
Cool Initial passwd change


When creating an initial password for a user on a solaris box, via useradd, the user will be prompted to add a new password after his first login.

Specifically, how does the system know that it is the user's first login? Is it in the /etc/passwd or /etc/shadow file, or elsewhere?

Please advise.

----------------------------------------------------------------------------------------------

UPDATED:

I got the answer, either 'passwd -f username' or change third value in /etc/shadow to 0.

Last edited by liguorir; 09-24-2004 at 11:53 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS Change passwd problems.. HELP bubsgt95 Linux - Server 6 09-11-2009 08:21 AM
can i change my passwd and login to ssh? pippet Linux - Newbie 1 10-27-2004 01:41 AM
need a script that can change the passwd bahadur Linux - Security 1 07-09-2004 05:07 AM
Change initial Lilo selection screen? justin_p Slackware 1 07-01-2004 03:13 PM
user can change passwd kelper Linux - Software 3 08-28-2003 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration