What is the meaning of the character x in /etc/shadow file?


 
Thread Tools Search this Thread
Operating Systems Solaris What is the meaning of the character x in /etc/shadow file?
# 1  
Old 03-19-2011
Java What is the meaning of the character x in /etc/shadow file?

what is the meaning of the character x in /etc/shadow file
which is lying in the encrypted password column..
i need this urgently
# 2  
Old 03-19-2011
It depends:
Code:
bin:x:6445::::::
oracle:$1$MExuvzum$z22J9toZXFyPEl2hpi.0H0:14376::::::

That field is the "encrypted" password. An x by itself as on the first line is an impossible value. It means that the account is locked because no password that can be given would match the x. The second line is a valid password field. It happens to contain an x. But this account is not locked. A valid password is possible. (Actually I fiddled with the field before I posted it publicly so it might be an impossible value too.)
# 3  
Old 04-15-2011
susheel

its an passwd when u r comming to /etc/passwd it will be a link column
# 4  
Old 04-15-2011
Hello Nsusheelgoud,

Per our forum rules, all users must write in English, use semi-formal or formal English language and style, and correct spelling errors.

The reason for this is that most software and operating systems are written in English and these are software related technical forums.

In addition, nearly 95% of all visitors to this site come here because they are referred by a search engine. In order for future searches on your post (with answers) to work well, you need to spell correctly!

So, as a benefit and courtesy to current and future knowledge seekers, please be careful with your language, check your spelling and correct your spelling errors. You might receive a forum infraction if you don't pay attention to this.

Also, do not write in cyberpunk or abbreviated chat style under any circumstances and do not use profanity. This is not a chat room, it is a formal knowledge base to serve you and everyone, of all ages and cultural backgrounds.

Thanks!

The UNIX and Linux Forums
# 5  
Old 04-15-2011
susheel

its an encrypted passwd it follows diff types of algrtm to encrypt u can observe them in /etc/security profile file
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What is the meaning the $ special character?

Hello... and thank you in advanced for any help anyone can offer me I'm hoping someone can explain what the leading $ is/means (i.e. $PS1, $HOME, etc).... I was having a discussion with someone and was trying to explain it... Which I felt like I came up kind of short with how well I did it. ... (12 Replies)
Discussion started by: bodisha
12 Replies

2. UNIX for Dummies Questions & Answers

Shadow file help

As a part of linux hardening In shadow file all Application accounts which are not locked must contain only an asterisk “*” in the Passwd field. But how would i do it by using command? Is there any way other than modifying shadow file to accomplish this task? (3 Replies)
Discussion started by: pinga123
3 Replies

3. Solaris

delete shadow file

hi everybody i 'm beginner in solaris and by mistake i removed shadow file any one can help me to restore it from passwd file (4 Replies)
Discussion started by: maxim42
4 Replies

4. Shell Programming and Scripting

Shadow file

Hi, In shadow file smithj:Ep6mckrOLChF.:10063:0:99999:7::: 3rd Field 10063 indicates the number of days (since January 1, 1970) since the password was last changed. I want to get the result with script the date on which the password was last changed in YYYY-MM-DD format. can... (8 Replies)
Discussion started by: pinnacle
8 Replies

5. UNIX for Dummies Questions & Answers

Shadow File

I see conflicting definitions for the shadow file. For Solaris, what are the fields please? Thanks. (3 Replies)
Discussion started by: DavidS
3 Replies

6. UNIX for Advanced & Expert Users

/etc/shadow file....

Does anyone know what "!!" represents in the password field of the /etc/shadow file? :confused: (6 Replies)
Discussion started by: avcert1998
6 Replies

7. Solaris

*LK* in /etc/shadow file

my etc/shadow file showing *LK* for a particular user.. can u tell me under which circumstances a user is locked (5 Replies)
Discussion started by: vikashtulsiyan
5 Replies

8. UNIX for Advanced & Expert Users

shadow file

what does 'x' in the encrypted password field in /etc/shaodw file represent? (3 Replies)
Discussion started by: jbashir
3 Replies

9. Solaris

Shadow file definition

Hi Could someone Pls let me know how to define a shadow file, i.e what do each of the following stand for: root:SedGsw.WadR:13200:7:30:5:30:: What would the column headings be? Thnaks (1 Reply)
Discussion started by: narik007
1 Replies

10. UNIX for Dummies Questions & Answers

shadow file

Sirs, What is a shadow file,How it be usefull.For my project i have to keep the password in shawdow file also i am doing in php how can i do it. Thanks in advance, ArunKumar (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
Login or Register to Ask a Question