Manual Page Result
0
Command: vipw | Section: 8 | Source: Digital UNIX | File: vipw.8.gz
vipw(8) System Manager's Manual vipw(8)
NAME
vipw - Edits the /etc/passwd file
SYNOPSIS
/usr/sbin/vipw
DESCRIPTION
You use the vipw command to edit the /etc/passwd file with the editor
defined in the EDITOR environment variable. If the variable is not
set, the default editor is vi.
The vipw command performs basic consistency checks on the edited file.
If a hashed indexed passwd existed previously, the vipw command uses
the mkpasswd command to create recreate it.
The command must not be used on systems that use extended security at-
tributes since it cannot set or change them. You must be root to run
this command. Only root and security administrators should have exe-
cute access to this command.
Since the vipw command cannot effectively change all the attributes of
users, it should not be used in a secure environment.
The vipw command accesses the following files, and requires the listed
permissions:
tab(@); lfHB lfHB cfR lfR . _
Permissions@File
_
rw@/etc/passwd
rw@/etc/passwd.pag
rw@/etc/passwd.dir
rw@/etc/ptmp
rw@/etc/ptmp.pag
rw@/etc/ptmp.dir
_
EXAMPLE
To edit the /etc/passwd file, type the following command and add the
required line entry: vipw
FILES
Specifies the command path
RELATED INFORMATION
Commands: passwd(1), passwd(4), adduser(8), mkpasswd(8) delim off
vipw(8)