LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 10-21-2010, 09:33 AM   #1
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 550

Rep: Reputation: 46
AIX 5.3: Password Field in /etc/passwd


Hi,


I have just found that the password filed in /etc/passwd is having an exclamation mark "!" instead of an "x" in there. It is an AIX 5.3 box.


Code:
UserName:!:100020:1:"Mr. User":/home/UserName:/usr/bin/ksh
Here is a line from the same file from a Fedora Box:

Code:
xyz:x:505:506::/home/xyz:/bin/bash

So, what does the mark "!" mean there on an AIX Box in the /etc/passwd file after the user account name?

Last edited by GrapefruiTgirl; 10-21-2010 at 12:17 PM. Reason: moving thread to AIX
 
Old 10-21-2010, 09:55 AM   #2
Omnicronos
Member
 
Registered: Oct 2010
Location: N. VA
Distribution: Redhat, CentOS, Solaris
Posts: 40

Rep: Reputation: 12
From shadow(5) manpage:

"If the password field contains some string that is not valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in, subject to pam(7)."
 
Old 10-21-2010, 12:19 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Moved: This thread is more suitable in the AIX forum, and has been moved accordingly to help your question get the exposure it deserves.
 
Old 10-21-2010, 01:09 PM   #4
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 550

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by GrapefruiTgirl View Post
Moved: This thread is more suitable in the AIX forum, and has been moved accordingly to help your question get the exposure it deserves.
Thanks! I forgot it.
 
Old 10-21-2010, 01:23 PM   #5
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 550

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by Omnicronos View Post
From shadow(5) manpage:

"If the password field contains some string that is not valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in, subject to pam(7)."

My user account was just created on this AIX 5.3 box by the GAM team. When I logged-in I was prompted to change the password. Maybe it is the result of that "!" sign.
 
Old 10-21-2010, 06:07 PM   #6
DukeSSD
Member
 
Registered: Sep 2007
Posts: 87

Rep: Reputation: 20
For reference, while the link lasts, which knowing the IBM web site will not be long...

http://publib.boulder.ibm.com/infoce...les/passwd.htm

The ! means the password is valid and in the /etc/security/passwd file.

As a new user you will be prompted to change it on first login.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] change desired field in passwd or shadow vikas027 Programming 5 06-09-2008 12:03 PM
passwd prompts for new password only once when a short password is entered powah Linux - Security 0 09-19-2007 04:20 PM
what does password field mean? hongxing Linux - Software 5 11-28-2005 06:33 PM
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 05:25 AM
/etc/shadow password field amfoster Linux - Security 2 08-24-2004 11:39 AM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration