LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-10-2010, 12:48 AM   #1
linuxFreshMan
Member
 
Registered: Nov 2009
Distribution: Ubuntu 9, RedHatLinux
Posts: 47

Rep: Reputation: 0
Question what the "!!" in the /etc/passwod/ means?


hi folks.. I googled for this parameter "!!" and all i got was fuzzy.. So what these makrs really means and what uses they can be useful at?
 
Old 11-10-2010, 01:02 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
If I remember correctly, either '*' or '!!' prevents login.
 
Old 11-10-2010, 01:06 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
You have "!!" in your /etc/passwd ?
 
Old 11-10-2010, 01:11 AM   #4
linuxFreshMan
Member
 
Registered: Nov 2009
Distribution: Ubuntu 9, RedHatLinux
Posts: 47

Original Poster
Rep: Reputation: 0
Smile

sorry but i couldnt really get what it really does? so try to be more clear if possible?
my best regards :-)
 
Old 11-10-2010, 04:16 AM   #5
davinders
LQ Newbie
 
Registered: Nov 2009
Posts: 25

Rep: Reputation: 1
Need some more clarity of problem...

if possible share the passwd file
 
Old 11-10-2010, 07:44 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Two exclamation points in the password field of /etc/shadow mean the account is locked. When you create a new account using the useradd command, a double exclamation mark is placed into the shadow file, until the system administrator assigns a password using the passwd command. In other words, the account exists but the user cannot log in.

Detailed explanation of the user creation process and the involved steps can be found in the RedHat System Administration Guide, here.
 
1 members found this post helpful.
  


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
LXer: To Microsoft, Open Source means "Windows Encumbered" LXer Syndicated Linux News 2 05-25-2010 02:40 PM
LXer: Time to school the FCC on what "free" really means LXer Syndicated Linux News 0 07-05-2008 01:50 AM
svn: "Can't set position pointer in file" - any idea what that means? BrianK Linux - General 1 11-07-2007 03:35 PM
LXer: What the "ultimate filesystem", Sun ZFS, means for your desktop, in Plain English LXer Syndicated Linux News 0 06-21-2007 01:31 PM
what means "Error:junk 'string' after register" qqrilxk Programming 1 03-17-2005 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:09 AM.

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