IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 5 > passwd man page

passwd man page

Section 5 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


PASSWD(5)                  Linux Programmer's Manual                 PASSWD(5)



NAME
       passwd - password file

DESCRIPTION
       Passwd  is  a text file, that contains a list of the system's accounts,
       giving for each account some useful information like user ID, group ID,
       home  directory,  shell,  etc.   Often,  it also contains the encrypted
       passwords for each account.  It should  have  general  read  permission
       (many  utilities, like ls(1) use it to map user IDs to user names), but
       write access only for the superuser.

       In the good old days there was no great problem with this general  read
       permission.   Everybody  could  read  the  encrypted passwords, but the
       hardware was too slow to crack a well-chosen  password,  and  moreover,
       the  basic  assumption  used  to  be that of a friendly user-community.
       These days many people run some version of the shadow  password  suite,
       where /etc/passwd has asterisks (*) instead of encrypted passwords, and
       the encrypted passwords are in /etc/shadow which  is  readable  by  the
       superuser only.

       Regardless  of whether shadow passwords are used, many sysadmins use an
       asterisk in the encrypted password field to make sure  that  this  user
       can  not  authenticate  him-  or herself using a password. (But see the
       Notes below.)

       If you create a new login, first put an asterisk in the password field,
       then use passwd(1) to set it.

       There is one entry per line, and each line has the format:

              account:password:UID:GID:GECOS:directory:shell

       The field descriptions are:


              account   the  name  of  the  user on the system.  It should not
                        contain capital letters.

              password  the encrypted user password, an asterisk (*),  or  the
                        letter  'x'.   (See  pwconv(8)  for  an explanation of
                        'x'.)

              UID       the numerical user ID.

              GID       the numerical primary group ID for this user.

              GECOS     This field is optional and only used for informational
                        purposes.   Usually,  it  contains the full user name.
                        GECOS means General Electric  Comprehensive  Operating
                        System, which has been renamed to GCOS when GE's large
                        systems  division  was  sold  to  Honeywell.    Dennis
                        Ritchie  has reported: "Sometimes we sent printer out-
                        put or batch jobs to the GCOS machine.  The gcos field
                        in the password file was a place to stash the informa-
                        tion for the $IDENTcard.  Not elegant."

              directory the user's $HOME directory.

              shell     the program to run at login (if empty,  use  /bin/sh).
                        If  set to a non-existing executable, the user will be
                        unable to login through login(1).

NOTE
       If you want to create user groups, their GIDs must be equal  and  there
       must be an entry in /etc/group, or no group will exist.

       If  the  encrypted  password  is  set  to an asterisk, the user will be
       unable to login using login(1), but may still  login  using  rlogin(1),
       run  existing  processes and initiate new ones through rsh(1), cron(1),
       at(1), or mail filters, etc.  Trying  to  lock  an  account  by  simply
       changing the shell field yields the same result and additionally allows
       the use of su(1).

FILES
       /etc/passwd

SEE ALSO
       login(1), passwd(1), su(1), group(5), shadow(5)



File formats                      1998-01-05                         PASSWD(5)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:39:58 GMT 2007

Your favourite pages:

No pages logged yet...

Top 10 most popular pages:

svn man page (22049 hits)
(FreeBSD 6.2)

netcat man page (8898 hits)
(Suse Linux 10.1)

prstat man page (7960 hits)
(Solaris 10 11_06)

ssh-socks5-proxy-connect man page (7906 hits)
(Solaris 10 11_06)

sqlite3 man page (7640 hits)
(openSUSE 10.2)

signal man page (7127 hits)
(Suse Linux 10.1)

adv_cap_autoneg man page (6826 hits)
(Solaris 10 11_06)

startproc man page (6482 hits)
(Suse Linux 10.1)

CPAN man page (6457 hits)
(Suse Linux 10.1)

ssh man page (5476 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: PIC Project Development :: Brico Piston Rings
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum