Sponsored Content
Full Discussion: shadow file
Top Forums UNIX for Advanced & Expert Users shadow file Post 80330 by jim mcnamara on Friday 5th of August 2005 02:03:58 PM
Old 08-05-2005
jmcnamar:x:10607:100:Jim Mcnamara,,222 222-1234.......

The :x: part in this record is the "password" field. This is /etc/passwd
/etc/shadow has the encrypted password and the salt.
 

10 More Discussions You Might Find Interesting

1. 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

2. Programming

Doubt on shadow file

Hi guys, I have a doubt on shadow file ... In the Unix servers in which I am working, I cud see that the shadow file has only one permission set .. tht is read permission for only root user ... (-r--------) .... So my basic doubt here is that how this file is being written then ... only... (4 Replies)
Discussion started by: Sabari Nath S
4 Replies

3. 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

4. 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

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. Shell Programming and Scripting

appending LK to the shadow file

Hey guys.. i need to be able to append 'LK' to a password field in the shadow file I cannot use commands such as usermod chsh i need to directly be able to manupilate the files through a menu driven interface. So in other words write to the shadow file How could i do this? so far... (1 Reply)
Discussion started by: musicmancanora
1 Replies

7. UNIX for Dummies Questions & Answers

How Do I Regenerate the Shadow file

I guess the earlier problem I had with changing user passwords and creating new users is related to the shadow file. Anytime I change something to /etc/passwd or shadow I get locked out. HOW DO I REGENERATE THIS FILE. (1 Reply)
Discussion started by: Waitstejo
1 Replies

8. 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

9. Solaris

Solaris :regarding /etc/shadow file

what does the last column in /etc/shadow file indicate?? i read man page,it tells its FLAG..but i am not able to understand exactly why its there :confused: thanks in advance, shekhar (4 Replies)
Discussion started by: shekhar_4_u
4 Replies

10. 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
pwconv(1M)																pwconv(1M)

NAME
pwconv - install, update or check the /etc/shadow file SYNOPSIS
DESCRIPTION
The command installs or appends with information from or checks for any discrepancies between the contents of the two files. The command without options does the following: 1. Creates the file if it does not exist; otherwise, it removes all entries for usernames which are not present in 2. For each entry in move the encrypted password and aging information to Entries in which have no encrypted password or aging information will not overwrite information in 3. Writes an "x" in each password field of the file, to indicate that the password and aging information reside in the file. The command relies on a special value of "x" in the password field of A value different from "x" will prompt to move the password and aging information into the corresponding fields of and then replace the password field in with an "x". If no aging information exists in for a user, none will be added to However, the last change field, which indicates when the password was last modified, will always be updated (default is current date). See shadow(4). Options The following options are recognized: Verbose output. Test mode. prints error information but does not modify nor Notes The command can only be used by the superuser. HP recommends running before See pwck(1M). A system which has been converted to a trusted system has no file. In this case, can be used with no options to update the secure password facility to reflect any changes made in the file. RETURN VALUE
exits with one of the following values: Successful completion. Conversion error occurred. WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality. FILES
system password file shadow password file secure password facility SEE ALSO
pwck(1M), pwunconv(1M), passwd(4), shadow(4). pwconv(1M)
All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy