Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vipw(8) [ultrix man page]

vipw(8) 						      System Manager's Manual							   vipw(8)

Name
       vipw - edit the password file

Syntax
       vipw

Description
       The  command  edits  the  password  file  while setting the appropriate locks and doing any necessary processing after the password file is
       unlocked.  If the password file is already being edited, then you will be told to try again later.  The editor  will  be  used  unless  the
       environment  variable  EDITOR indicates an alternate editor.  The command performs a number of consistency checks on the password entry for
       root, and does not allow a password file with a corrupted root entry to be installed.

       If the hashed database exists will automatically invoke on it to keep it synchronized with the file.

Files
See Also
       chfn(1), chsh(1), passwd(1), passwd(5yp), adduser(8), mkpasswd(8)

																	   vipw(8)

Check Out this Related Man Page

vipw(1B)					     SunOS/BSD Compatibility Package Commands						  vipw(1B)

NAME
vipw - edit the password file SYNOPSIS
/usr/ucb/vipw DESCRIPTION
vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If the password file is already being edited, then you will be told to try again later. The vi(1) editor will be used unless the environment variable VISUAL or EDITOR indicates an alternate editor. vipw performs a number of consistency checks on the password entry for root, and will not allow a password file with a "mangled" root entry to be installed. It also checks the /etc/shells file to verify the login shell for root. FILES
/etc/ptmp /etc/shells ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
passwd(1), vi(1), passwd(4), attributes(5) SunOS 5.10 14 Sep 1992 vipw(1B)
Man Page

14 More Discussions You Might Find Interesting

1. Red Hat

Save sudo privilege for session

I have setup public key based login to my CentOS VPS. I wish to disable direct root login and have created an admin user under wheel group and have modified /etc/sudoers file and gave Wheel group all privileges. But now I am being prompted for password whenever I type sudo. I do not wish to... (4 Replies)
Discussion started by: JoyceBabu
4 Replies

2. Solaris

edit a file without use editor vi

hi all i have a problem i want to edit a file without use the "vi" . for example i want to edit a passwd file without to do "vi" in file. how i can to do this? Regards (4 Replies)
Discussion started by: FrancescoIt
4 Replies

3. Solaris

Can /usr and /var be copied to another machine?

Hi May I know whether I can a restore a backup of the following files and folders from one machine Sunfire V880 to another Sunfire V880 all running the same Solaris 9 without any problems to the 2nd machine?: 1. /usr 2. /var 3. /etc/shadow 4. /etc/group 5. /etc/passwd ... (5 Replies)
Discussion started by: rahmantanko
5 Replies

4. UNIX for Dummies Questions & Answers

Removing a user that doesnt exist from a group

Hi there, normally if I want to remove a user tht I have added to a specific group, i would do the following this is what my group2 looks like # grep group2 /etc/group group2:x:7777:user2,user1,user4 user1 has been defined in a few groups # id -nG user1 group1 group2 group3 So... (3 Replies)
Discussion started by: rethink
3 Replies

5. HP-UX

Unable to useradd on 11.31

Running into a bit of a problem on one of our HP-UX nodes. I'm unable to add users through useradd. We can edit the passwd file normally or through vipw, just fine. Once you remove the .pwd.lock file, though, vipw will not work. root@fake_hp_hostname:/etc>uname -a HP-UX fake_hp_hostname... (0 Replies)
Discussion started by: Nitrodist
0 Replies

6. Solaris

remove a user without removing its home dir

HI all, I have wrongly given a wrong home directory to a user. This dir is very critical for my production environment(Can;t afford to lose it for a single minute) Now i want to delete that user, Whenever i try to delete user it tries to delete its home dir. Commnd i use: userdel ... (9 Replies)
Discussion started by: varunksharma87
9 Replies

7. HP-UX

owner Permission changed automatically

HI all, We had created new user using the command useradd -d /home/selva -s /usr/local/bin/bash selva. But it didnt created the home directory on /home. So i manually created, copied skel files manually and changed the owner from root to selva. At the same time i observed that so many files... (6 Replies)
Discussion started by: selvaforum
6 Replies

8. HP-UX

"Synchronize" users/groups

Hello! I'm hoping for a bit of advice on this...we have a need to synchronize users/groups between a couple servers in widely separated locations (our main DC and a disaster-recovery DC). This only has to happen, at this stage, with one server in each location, and the synchronization only has... (5 Replies)
Discussion started by: KickstartUF
5 Replies

9. Solaris

Lost /etc/passwd file

Hello, I'm trying to recover my /etc/passwd file, but I can't make it work. Im doing the following: 1. Booting from cd-rom: 2. Mounting hard disk drive 3. Copying my passwd and shadow files to /a/etc/ 4. Unmounting Hard disk: 5. Rebooting 6. Stopping my OS from booting ( by pressing... (11 Replies)
Discussion started by: alvaradogunner
11 Replies

10. Solaris

Cannot recover root passwd through serial console mode by using CDROM

hi i cant recovery root passwd through serial console mode by using CDROM.. i tried following step but no luck in ok prompt : ok boot cdrom -s it comes single user mode i check format cmd it showing disk c1t0d0 c1t2d0 then #mount /dev/dsk/c1t0d0s0 /a #cd /a # vi /etc/shadow ( it... (13 Replies)
Discussion started by: coolboys
13 Replies

11. 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

12. UNIX for Dummies Questions & Answers

Cannot "chmod" after account migration on openBSD.

I copy home directory, file /etc/passwd, file /etc/group, file /etc/master.passwd to the new server. This is result of "ls/home" on the old server. drwxr-xr-x 3 user1 user1 512 Aug 3 2012 user1 drwxr-xr-x 19 user2 user2 2560 Jan 9 09:24... (4 Replies)
Discussion started by: cyberking
4 Replies

13. 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

14. 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