Visit Our UNIX and Linux User Community

Unix Password File

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix Password File
# 1  
Old 10-11-2001
Unix Password File

Please where do i find the password file in Unix???

What is it called ...?
# 2  
Old 10-11-2001
It's in the /etc directory. It's name is "passwd".

The full path to it is /etc/passwd
Most modern passwd files do not have the actual password in it anymore, though, so it is usually readable by anyone...
# 3  
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.
# 4  
Old 10-26-2001
passwd file


Just as a general tip. You can access a lot of info about almost any unix word by using "man".

Just type " man passwd" and you will get the manual page on passwd.

Most "man pages" will give you a great deal of info on the command or commonn file.

A good book to get would be "UNIX in a Nutshell" by O'Reilly. It has a lot of good stuff!

# 5  
Old 10-28-2001
Passwd File

Originally posted by psprocida
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.
But still in the /etc/shadow you will get an encrypted password.
# 6  
Old 10-29-2001
Is there any possibility that a superuser can trace that password?
# 7  
Old 10-29-2001
password file

No one on the system including the root can trace your passdword.but he can change/erase your password!


Previous Thread | Next Thread
Test Your Knowledge in Computers #253
Difficulty: Easy
The Defense Advanced Research Projects Agency (DARPA) is an agency of the United States Department of Defense originally designed by the Jefferson Airplane Company.
True or False?

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

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

Featured Tech Videos