Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vigr(8) [redhat man page]

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)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need help in shell scripting....

2011/10/10 06:30 VIDP 100630Z 30007KT 2500 HZ NSC 32/17 Q1014 NOSIG 2011/10/10 06:55 OPLA 100655Z 32005KT 5000 HZ FEW100 33/18 Q1015 NOSIG A29.98 2011/08/26 12:00 VEAT 261200Z 00000KT 4000 HZ SCT018 SCT025 FEW030CB BKN100 29/27 Q1001 NOSIG RMK CB TO SE SW 2011/08/26 08:00 VEGT 260800Z... (4 Replies)
Discussion started by: anuajay1988
4 Replies

2. Red Hat

Effects of /etc/fstab file!

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)
Discussion started by: nixhead
17 Replies

3. Programming

Bus Error: 10...Help please!

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)
Discussion started by: kdejan
5 Replies

4. UNIX for Dummies Questions & Answers

Why my find return not expected?

root@intel_5500_server:~# find / -name bin -o -name sbin /usr/bin /usr/lib64/pm-utils/bin /usr/lib64/rpm/bin /usr/sbin /bin /sbin root@intel_5500_server:~# which ovs-pki /usr/bin/ovs-pki why below command return nothing root@intel_5500_server:~# find /... (8 Replies)
Discussion started by: yanglei_fage
8 Replies

5. Homework & Coursework Questions

Network administration problem

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)
Discussion started by: Auser
5 Replies

6. Shell Programming and Scripting

PROBLEM with another binary file

Hello, I want to parse another file, i just want the ascii content, here the result of command od -bc file 0000000 036 000 024 000 000 000 377 376 377 010 060 000 060 000 060 000 036 \0 024 \0 \0 \0 377 376 377 \b 0 \0 0 \0 0 \0 0000020 060 000 062 000 106 000... (21 Replies)
Discussion started by: protocomm
21 Replies

7. UNIX for Advanced & Expert Users

Big problem: shell entry in /etc/passwd corrupted for user root

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)
Discussion started by: dodona
4 Replies