Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


VIPW

Section: System Management Commands (8)
Updated: 09/12/2012
Index Return to Main Contents
 

NAME

vipw, vigr - edit the password, group, shadow-password or shadow-group file  

SYNOPSIS

vipw [options]
vigr [options]
 

DESCRIPTION

The vipw and vigr commands edits the files /etc/passwd and /etc/group, respectively. With the -s flag, they will edit the shadow versions of those files, /etc/shadow and /etc/gshadow, respectively. The programs will set the appropriate locks to prevent file corruption. When looking for an editor, the programs will first try the environment variable $VISUAL, then the environment variable $EDITOR, and finally the default editor, vi(1).  

OPTIONS

The options which apply to the vipw and vigr commands are:

-g, --group

Edit group database.

-h, --help

Display help message and exit.

-p, --passwd

Edit passwd database.

-q, --quiet

Quiet mode.

-s, --shadow

Edit shadow or gshadow database.
 

ENVIRONMENT

VISUAL

Editor to be used.

EDITOR

Editor to be used if VISUAL is not set.
 

FILES

/etc/group

Group account information.

/etc/gshadow

Secure group account information.

/etc/passwd

User account information.

/etc/shadow

Secure user account information.
 

SEE ALSO

vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
ENVIRONMENT
FILES
SEE ALSO


for client 18.218.254.122
© Andrew Scott 2006 - 2024,
All Rights Reserved
Andrew Scott