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

  man pages->HP-UX 11i man pages -> grpck (1m)              
Title
Content
Arch
Section
 

Contents


 pwck(1M)                                                           pwck(1M)




 NAME    [Toc]    [Back]
      pwck, grpck - password/group file checkers

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/pwck [-l] [password [shadow]]

      /usr/sbin/pwck [-s] [-l] [password]

      /usr/sbin/grpck [file]

 DESCRIPTION    [Toc]    [Back]
      pwck scans fields in the password and shadow files and reports any
      inconsistencies to standard error.  The checks include validation of
      the number of fields, login name, user ID, group ID, and whether the
      login directory and optional program exist.  In addition, if the root
      entry shows a program, it can only be one of: /sbin/sh, /usr/bin/csh,
      /usr/bin/ksh, or /usr/bin/sh.  The criteria for validation is in
      passwd and shadow, and is described in the Managing Systems and
      Workgroups manual.  The default password file is /etc/passwd.  The
      default shadow file is /etc/shadow.  For additional verification, use
      pwconv, to check consistency between entries in the password and
      shadow files.

      grpck verifies all entries in the group file and reports any
      inconsistencies to standard error.  This verification includes a check
      of the number of fields, group name, group ID, and whether all login
      names appear in the password file.  The default group file is
      /etc/group.

    Options    [Toc]    [Back]
      pwck recognizes the following options:

           -s      Check inconsistencies with the Protected Password
                   database.  It calls authck -p.

           -l      Check encrypted password lengths that are greater than 8
                   characters.  If NIS+ is running in Trusted mode, password
                   lengths must not be longer than 8 characters.

 DIAGNOSTICS    [Toc]    [Back]
      Group entries in /etc/group with no login names are flagged.

 WARNINGS    [Toc]    [Back]
      Successful password file validation is not sufficient for proper
      system operation.  To help maintain consistency with other system
      databases, editing of the password file with vipw is discouraged.  HP
      recommends that you use sam, useradd, usermod, userdel, chfn, chsh or
      passwd to edit /etc/passwd.

 DEPENDENCIES    [Toc]    [Back]




 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 pwck(1M)                                                           pwck(1M)




    NFS    [Toc]    [Back]
      pwck and grpck check only the local password, shadow and group files.
      The Network Information Service database is not checked.

 AUTHOR    [Toc]    [Back]
      pwck was developed by AT&T and HP.

 FILES    [Toc]    [Back]
      /etc/group
      /etc/passwd
      /etc/shadow

 SEE ALSO    [Toc]    [Back]
      authck(1M), pwconv(1M), vipw(1M), group(4), passwd(4), shadow(4).

 STANDARDS CONFORMANCE    [Toc]    [Back]
      pwck: SVID2, SVID3

      grpck: SVID2, SVID3


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
vipw Linux edit the password, group, shadow-password, or shadow-group file.
ftpgroups HP-UX group password file for use with the SITE GROUP and SITE GPASS commands.
grget HP-UX get password and group information
pwget HP-UX get password and group information
user_from_uid OpenBSD cache password and group entries
group_from_gid FreeBSD cache password and group entries
user_from_uid FreeBSD cache password and group entries
pwcache FreeBSD cache password and group entries
pwcache NetBSD cache password and group entries
group_from_gid OpenBSD cache password and group entries
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service