answersLogoWhite

0


Best Answer

There are seven fields in the password file on each line for each user. They are:

login name

· optional encrypted password

· numerical user ID

· numerical group ID

· user name or comment field

· user home directory

· optional user command interpreter

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the fields used in the Unix password file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What file extensions are used to identify command shell scripts?

For windows, you might use .cmd, .bat as common file extensions. Unix doesn't use file extensions as associations, so no file extension needs to be used in the Unix environment. A shell script in Unix is simply a text file with any name that is readable and executable. However, file extensions are typically used in Unix as a documentation aid that states that the file is a shell script. Common extensions are .sh, .csh, .ksh, .tcsh, .zsh, etc.


What is a file command used to create or start a new file?

The 'touch' command creates a new empty file in Unix.


Why file command is used in unix?

The 'file' command in Unix attempts to guess what type of file you are looking at by reading the first several sections of the file and comparing it to a list of known contents for files. It is a useful command if you just want to know what type of file something is without having to examine it yourself. The command is not perfect because it does not detect all types of files but it does a reasonable job of guessing. It is used because in Unix there are no file extension types to tell us what kind of file a given file might be; you have to look inside the file to tell how it might be used.


How do you clear a Unix memory dump?

A Unix memory dump is usually placed in a file called 'core'. You merely delete the file with the 'rm' command, as you would any other file on the system. For Linux/Unix on the mainframe, the file is called CEEDUMP (if the C plus plus runtime LE library is being used), and you delete it the same way.


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.


What is the folder sharing mechanism most commonly used by UNIX computers?

The most common between Unix systems would be NFS Network File System.


What character is used to separate component file names in a Unix pathname?

The Unix pathname format uses the forward slash (/) to separate the component parts of the path.


How do you redirect a displayed line used by echo command to a file in UNIX?

echo "This is my text" > myfile.txt


Is there a define type program for Unix?

If you are asking about how can you find the type of file something is, the command is 'file' followed by the filename. This command will attempt to tell you something about the file and how it might be used.


What is meant when it is said a file is structureless in Unix?

Structureless files - There is no internal structure imposed on the contents of a file. Any structure desired by the user can be used.


How do you view passwords in Linux?

Most Unix systems no longer store the passwords in the password file; it is stored in a private file called /etc/shadow, only accessible by the root account. The passwords are stored in encrypted form in that file.


What file can be edited on a UNIX machine to resolve the name wwwmyservercom?

It depends on the version of Unix you are interested in. Some general files that are used are /etc/resolv.conf, which resolves queries to DNS, and also the /etc/hosts file, which can also resolve static queries (but probably wouldn't be used for this purpose).