03-29-2013
/etc/shadow is owned by root:root with 600 permissions.
Unless you actually hack the system, there is no feasible way to view the file.
What are you actually trying to do? (Not how you think you should try to do it)
If the answer is to see what /etc/shadow looks like and nothing else:
Linux Password & Shadow File Formats
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can some one explain to me how to disable the Shadow file or disconnect it from the passwd file. I am trying to configure a UNIX SCO box to use NIS and it continues to look at its own Shadow file. Thanks (5 Replies)
Discussion started by: mokie44
5 Replies
2. Programming
I'm writing a 'C' program on various systems (HP-UX, Solaris, AIX, NCR) which needs to interact with a user's password. Some of my systems are using the shadow password and some are not. It is possible for some of my systems to have /etc/shadow, even though the box is not using the file (I know,... (4 Replies)
Discussion started by: chrisc@nwark.ne
4 Replies
3. Solaris
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
4. UNIX for Advanced & Expert Users
Does anyone know what "!!" represents in the password field of the /etc/shadow file? :confused: (6 Replies)
Discussion started by: avcert1998
6 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am new to shell programming and trying to write a command that would show the etc/shadow file but without the hashes. So, something like this:
root: <HASH PASSWORD FOUND BUT OBFUSCATED>
daemon: NP
bin: NP
sys: NP
If there is a... (2 Replies)
Discussion started by: hellomms
2 Replies
6. UNIX for Dummies Questions & Answers
In /etc/shadow ..we have all the user entries ..?
Like when ever an user is created a corresponding entry is created in /etc/shadow...? (2 Replies)
Discussion started by: rachna
2 Replies
7. Shell Programming and Scripting
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
8. UNIX for Dummies Questions & Answers
I notice there are '*'s and '!!'s in my /etc/shadow file.
And I know these are for preventing login. But what are the differences among '*', '!' and '!!' ?
THX!
mail:*:14789:0:99999:7:::
uucp:*:14789:0:99999:7:::
...
dbus:!!:14919::::::
rpc:!!:14919:0:99999:7:::
...... (4 Replies)
Discussion started by: vistastar
4 Replies
9. UNIX for Dummies Questions & Answers
Dear all,
I need all of you to clarify about file permission and SUID, SGID as below:
Command:
$ ls -la /etc/passwd
-r--r--r-- 1 root root 1914 2011-04-15 11:22 /etc/passwd
# I've changed permission of this file
$ ls -la /etc/shadow
-r--r----- 1 root shadow 1397 2011-08-01 15:53... (3 Replies)
Discussion started by: all4cfa
3 Replies
10. UNIX for Dummies Questions & Answers
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
LDP(7) Miscellaneous Information Manual LDP(7)
NAME
LDP - Intro to the Linux Documentation Project, with help, guides and documents
SYNOPSIS
The Linux Documentation Project (LDP) provides a variety of free documentation resources including guides, FAQs, HOWTOs, and man-pages to
the Linux community.
AUTHORS
The various documents in the LDP archives are maintained by individual authors, and are listed in the beginning of each HOWTO. If you have
any questions or inputs to a document we encourage you to contact the authors directly.
WEB PAGES
The LDP has its own dedicated web site as do many of the various translations projects which are linked from the main LDP web site at:
http://www.tldp.org/
MAN PAGES
A web page with status information for manual pages and translations is found at:
http://www.win.tue.nl/~aeb/linux/man/
MAILING LISTS
LDP has a number of mailing lists, such as
<announce@en.tlpd.org>
Announcements from the LDP project
<discuss@en.tldp.org>
General discussion on the LDP project
<docbook@en.tldp.org>
Questions about the use of DocBook
For subscription information, see the website.
If you are interested in DocBook beyond the simple markup of your LDP document, you may want to consider joining one of the OASIS DocBook
mailing lists. Please see http://docbook.org/mailinglist/index.html for more information.
FILES
Most distributions include the HOWTOs and mini-HOWTOs in the installation
/usr/doc/ (old place for documentation)
/usr/share/doc/ (new place for documentation)
/usr/share/doc/HOWTO/ (HOWTO files)
/usr/share/doc/HOWTO/mini/ (mini-HOWTO files)
SEE ALSO
info(1), man(1), xman(1x)
info pages as read with emacs(1) or info(1)
LDP
2001-11-15 LDP(7)