*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> grpck (8)              
Title
Content
Arch
Section
 

pwck(8)

Contents


NAME    [Toc]    [Back]

       pwck,  grpck  -  Checks  the  password and group files for
       inconsistencies

SYNOPSIS    [Toc]    [Back]

       pwck [-admNs] [file]

       grpck [-mNp] [file]

OPTIONS    [Toc]    [Back]

       Causes both pwck and grpck to additionally check  the  NIS
       database  entries  using the same consistency tests. Users
       that are defined in the local password or group file without
  the  "+" at the start of the name field are optionged
       as duplicate entries.

   pwck
       Inhibits the running of the /tcb/bin/authck -p command  on
       a  system  running  Enhanced Security.  Prevents pwck from
       checking for the presence of the user's  login  directory.
       Directs  pwck  to  check for mixed case usernames.  Causes
       pwck to check for the presence of the optional shell field
       for each entry.

   grpck
       If there are no members, causes grpck to display a message
       indicating the listed group has no members.  Directs grpck
       to  not  check  for  a  users'  existence  in the password
       database (local or NIS).

DESCRIPTION    [Toc]    [Back]

       The pwck command scans the /etc/passwd file, or the  named
       file, and writes to standard out any inconsistencies.  The
       scan checks the number of fields,  login  name,  user  ID,
       group  ID, and existence of a login directory and optional
       program name.

       The grpck command scans the /etc/group file, or the  named
       file, and writes to standard out any inconsistencies.  The
       scan checks the number of fields, group  name,  group  ID,
       and whether all login names appear in the password file.

EXAMPLES    [Toc]    [Back]

       To verify the password information in the /etc/passwd file
       for consistency, enter: pwck

       To verify the password information in the /etc/passwd file
       and the NIS database for consistency without checking each
       users login directory validity, enter: pwck -Nd

       To verify the group information in the /etc/group file and
       the NIS database for consistency, enter: grpck -N









FILES    [Toc]    [Back]

       Specifies the command path Specifies the command path Contains
 user information Contains group information

SEE ALSO    [Toc]    [Back]

      
      
       Commands:  adduser(8),  authck(8),  groups(1),  passwd(1),
       vipw(8)

       Files: passwd(4), group(4), ypfiles(4)



                                                          pwck(8)
[ Back ]
 Similar pages
Name OS Title
passwd_export HP-UX Creates local password and group files
passwd_import HP-UX Creates registry database entries based on information in UNIX group and password files
vipw Linux edit the password, group, shadow-password, or shadow-group file.
setfsgid Linux set group identity used for file system checks
groupmember FreeBSD checks group set for a group ID
checknr Tru64 Checks nroff files
uucheck Tru64 Checks for files and directories required by uucp
ftpgroups HP-UX group password file for use with the SITE GROUP and SITE GPASS commands.
pwget HP-UX get password and group information
grget HP-UX get password and group information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service