VIPW(8) BSD System Manager's Manual VIPW(8)NAME
vipw, vigr -- edit the password or group files
SYNOPSIS
vipw [-V] [--version]
vigr [-V] [--version]
DESCRIPTION
Vipw edits the password file after setting the appropriate locks, and does any necessary processing after the password file is unlocked. If
the password file is already locked for editing by another user, vipw will ask you to try again later. The default editor for vipw is vi(1).
Vigr edits the group file in the same manner as vipw.
ENVIRONMENT
If the following environment variable exists it will be utilized by vipw:
EDITOR The editor specified by the string EDITOR will be invoked instead of the default editor vi(1).
SEE ALSO passwd(1), vi(1), passwd(5)HISTORY
The vipw command appeared in 4.0BSD.
The vigr command appeared in Util-Linux 2.6.
Util-Linux 2.6 7 July 1996 Util-Linux 2.6
Check Out this Related Man Page
vipw(8) System Manager's Manual vipw(8)NAME
vipw,vigr - edit the password, group or shadow file
SYNOPSIS
vipw [-g|-p|-s]
vigr [-g|-p|-s]
DESCRIPTION
vipw/vigr edits the passwd,group or shadow file after setting the appropriate locks to prevent file corruption. vipw edits per default the
/etc/passwd file, vigr the /etc/group file. Extended attributes (like ACLs or security attributes) are preserved.
ENVIRONMENT
EDITOR If the environment variable exists, the editor specified by this variable is used instead of the default vi(1).
OPTIONS -g, --group
Edit /etc/group.
-p, --passwd
Edit /etc/passwd.
-s, --shadow
Edit /etc/shadow.
-u, --usage
Print a usage message and exit.
--help
Print a more verbose help text and exit.
Print version information and exit.
FILES
/etc/group - group account information
/etc/passwd - user account information
/etc/shadow - shadow account information
SEE ALSO attr(5), passwd(1), passwd(5), shadow(5), vi(1)AUTHOR
Thorsten Kukuk <kukuk@suse.de>
pwdutils October 2003 vipw(8)
Hi Folks!
I accidentally overwrote in /etc/fstab file. Can you guys please tell me, what impact it would have created, when I restarted the machine(RHEL6).
I executed this command :
# blkid /dev/vda5 > /etc/fstab (17 Replies)
Hi all,
I am writing a phonebook program to store names and number using a list. Here is the code for the function which allows the user to enter the name and number (where the error occurs).
//THIS FUNCTION ADDS A NEW ENTRY TO THE phonebook_list
void insert(void){
//variables
int... (5 Replies)
Assuming there are 6 machines A,B,C,D,E, and F.
I need to create user Lanson on machine A, Joanna on machine B, Jhonson on machine C, Levette on machine D, Jhon on machine E, and Emerson on machine F.
a) Lanson, and Joanna must be in the same group.
b) Levette must have all his the files... (5 Replies)
did a big mistake, changing root entry of /etc/passwd to
root:x:0:0:root:/root:/usr/bin/tmux split-window -v \; attach
as expected, now I can't login as root anymore. sudo ed /etc/passwd etc. doesn't work.
Any idea?
Use code tags to increase readability and follow the rules. (4 Replies)