Sponsored Content
Full Discussion: Unix Password File
Top Forums UNIX for Dummies Questions & Answers Unix Password File Post 9402 by psprocida on Friday 26th of October 2001 08:17:15 AM
Old 10-26-2001
Well your password file is just info like group, default shell, UID, home directory.. so on and so on. /etc/passwd

Solaris keeps your encryted password in /etc/shadow. This is where your actual "password" is if that is what you are asking.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Password (AIX UNIX)

Need Help, I am new in unix. (AIX UNIX - RS 6000). I need a unix script to be able to change a unix password by just passing the user id and the new password. I need this script for the reason that my unix password should be the same on my applicatiion... (2 Replies)
Discussion started by: randyth
2 Replies

2. UNIX for Dummies Questions & Answers

UNIX password file

Hi,im trying to find an example of a Unix user password file (1 Reply)
Discussion started by: jodders
1 Replies

3. HP-UX

UNIX ID Password Expiration

We are trying to implement an Password Aging system that will force UNIX Accounts to change their passwords every 3 mons or so. This will be done my our Server Support Provider. We want to identify UNIX IDs that connects to our server via ftp,scp,sftp and other special connection protocols. IN... (2 Replies)
Discussion started by: tads98
2 Replies

4. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

5. UNIX for Advanced & Expert Users

Problem in converting password protected excel file to csv file in unix

I need to convert a password protected excel file which will be in UNIX server to a comma separated file. For this I need to open the excel file in UNIX box but the UNIX box doesn't prompt for password instead it is opened in an encrypted manner. I could manually ftp the excel file to local... (2 Replies)
Discussion started by: Devivish
2 Replies

6. Shell Programming and Scripting

Logging in unix account taking password from a parameter file

Hi All, I am writing a script where it updates a file in an unix account. To update that file i need to be logged in as that account user. say account name is ab01 and its password is passab01. What i want to do is, my script should read login id and password from a parameter file and... (4 Replies)
Discussion started by: pkbond
4 Replies

7. Shell Programming and Scripting

Password protection in unix

How to create a file in UNIX which is password protected ? Thanks and Regards, Neeraj (5 Replies)
Discussion started by: neeraj617
5 Replies

8. UNIX for Dummies Questions & Answers

password protect a CSV file: better solution than ZIP password?

Hi We send *.csv with sensitive data to our customers. Our customers open those files with Excel. A new requirement is that we password protect those CSV files. I thought to pack them with ZIP and assign a password to the archive. But Solaris 10 can't encrypt ZIP files. $ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies

9. Shell Programming and Scripting

Password hiding in UNIX

Hi guys, I use STTY command to make the password invisible. Now I need to write the password into another file pwd.txt, but in an invisible manner, something like ******. Another thing is to when I echo the content of pwd.txt I get the password I actually typed. Thanks guys. Help me out. (5 Replies)
Discussion started by: mohanalakshmi
5 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
PWCK(1) 						      General Commands Manual							   PWCK(1)

NAME
pwck - verify integrity of password files SYNOPSIS
pwck [-sr] [passwd shadow] DESCRIPTION
pwck verifies the integrity of the system authentication information. All entries in the /etc/passwd and /etc/shadow are checked to see that the entry has the proper format and valid data in each field. The user is prompted to delete entries that are improperly formatted or which have other incorrectable errors. Checks are made to verify that each entry has - the correct number of fields - a unique user name - a valid user and group identifier - a valid primary group - a valid home directory - a valid login shell The checks for correct number of fields and unique user name are fatal. If the entry has the wrong number of fields, the user will be prompted to delete the entire line. If the user does not answer affirmatively, all further checks are bypassed. An entry with a dupli- cated user name is prompted for deletion, but the remaining checks will still be made. All other errors are warning and the user is encouraged to run the usermod command to correct the error. The commands which operate on the /etc/passwd file are not able to alter corrupted or duplicated entries. pwck should be used in those circumstances to remove the offending entry. OPTIONS
By default, pwck operates on the files /etc/passwd and /etc/shadow. The user may select alternate files with the passwd and shadow parame- ters. Additionally, the user may execute the command in read-only mode by specifying the -r flag. This causes all questions regarding changes to be answered no without user intervention. pwck can also sort entries in /etc/passwd and /etc/shadow by UID. To run it in sort mode pass it -s flag. No checks are performed then, it just sorts. FILES
/etc/passwd - user account information /etc/shadow - encrypted password information /etc/group - group information SEE ALSO
group(5), passwd(5), shadow(5), usermod(8) DIAGNOSTICS
The pwck command exits with the following values: 0 Success 1 Syntax Error 2 One or more bad password entries 3 Cannot open password files 4 Cannot lock password files 5 Cannot update password files AUTHOR
Julianne Frances Haugh (jockgrrl@ix.netcom.com) PWCK(1)
All times are GMT -4. The time now is 05:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy