Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vipw(1m) [hpux man page]

vipw(1M)																  vipw(1M)

NAME
vipw - edit the password file SYNOPSIS
DESCRIPTION
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, you will be told to try again later. The editor is used unless the environment variable indicates an alternate editor. performs a number of consistency checks on the password entry for and does not allow a password file with an incorrectly formatted root entry to be installed. To help reduce the possibility of leaving the system in an unbootable state, root's entry is not considered prop- erly formatted if it has a user ID that is not zero, or if it has a shell other than or Please refer to passwd(4) and the manual for further details of password file format. WARNINGS
An file that is not removed when a system crashes prevents further editing of the file using after the system is rebooted. is the standard lock used by all commands which knowingly modify Successful execution of is not sufficient for proper system operation. To help maintain consistency with other system databases, editing of the password file with is generally discouraged. Please use or to edit AUTHOR
was developed by the University of California, Berkeley. FILES
SEE ALSO
chfn(1), chsh(1), passwd(1), sam(1M), useradd(1M), usermod(1M), userdel(1M), passwd(4). vipw(1M)

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

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Root Password Lost !!!

I've forgotten root password on one of Solaris machines, i searched in forumes to find a similar case but there's no proceudre here to reinintialize root password, cause most of related commands & even single user mode needs root password that i don't have. Any solution would be helpful. --rgrds,... (9 Replies)
Discussion started by: nikk
9 Replies

2. UNIX for Dummies Questions & Answers

file copy thru sash shell

I accidentally assigned a password to the root user on this system and I don't remember what it was.. I was messing around with commands trying to learn the OS. I have an old Indy R5000 system and I do not have a working cd drive for it to run the irix installation. I booted into the PROM... (6 Replies)
Discussion started by: Qubbe
6 Replies

3. Solaris

Lost password on a SPARCstation Voyager

Hi, I got hold of a SUN SPARCstation Voyager today, but I don't have the root password. I made a linux bootdisk and tried to sue that to edit the shadow file, but it comes up saying "magic number" (since it's not a UFS floppy). I haven't got any recovery disks for it, and no documentation. ... (5 Replies)
Discussion started by: KWManiac
5 Replies

4. OS X (Apple)

Root user in MacOSX

Hello, Do you guys know how does the root user works in this system? from the terminal i try to su to root, and i thought the password was the same as the macosx password, at the /etc/passwd file the passwd field appears as *, so it's system bussines only, is there a way to become root? i... (6 Replies)
Discussion started by: sx3v1l_1n51de
6 Replies

5. HP-UX

user creation in 2nd server.

Dear frnds, I have 2 hp ux 11i servers(S1 & S2) in cluster. In S1 I created all the users. Is it necessary to create the same users one by one in S2 also ? pls help me. (7 Replies)
Discussion started by: jestinabel
7 Replies

6. UNIX for Advanced & Expert Users

Root password forgotten

If someone a Unix system administrator forgets the root password ?. What will be the consequences ?. Should the OS needs to be reinstalled ?? (6 Replies)
Discussion started by: dhanamurthy
6 Replies

7. Shell Programming and Scripting

ask for root password

Hey all me again, what do i need to put in my script to check for root privalges and if not then ask for them, what ive got so far is, thankyou in advance for any help. if then ????????????????????? then (8 Replies)
Discussion started by: dave123
8 Replies

8. AIX

root password is still invalid after resetting

Hi AIX Gurus, I've purchased a second hand pSeries and don't know the root password. I've used the following instruction to reset root password and everything seems just fine. However, after it reboots, the system still says the root password I used is invalid. I really don't know why. I did... (12 Replies)
Discussion started by: aixlover
12 Replies

9. Shell Programming and Scripting

Search entire system for files containing certain word(s)

I am trying to create a script that will report (email and ftp results) on any file, system wide, that has the word password= in it. (and any variation of password=). Basicaly looking for any plain text passwds. I figured the easiest way would be like this...... for i in `cat find-pw.dat` do... (6 Replies)
Discussion started by: theninja
6 Replies

10. UNIX for Dummies Questions & Answers

grep for password file entry

How would I grep for password file entry without using grep 'username' /etc/passwd? perhaps with who? I want to create alias that will find the password file entry regardless of the user who is using it. I am trying to get the same exact line from the file entry like: Name : Password : UserID... (7 Replies)
Discussion started by: alis
7 Replies

11. Solaris

Never Expired for root password

Never expired for root password Guy's I want to change the setting to keep the root password to be nerved expired! Please advice with the sitting! (9 Replies)
Discussion started by: top.level
9 Replies

12. Solaris

Problems setting password.

Hi All, I have a problem setting the password when I have to create a user and password as detailed below. username : gaacj01 password : oshopp01 username : gaacj02 password : oshopp02 username : gaacj03 password : oshopp03 username : gaacj04 password : oshopp04 username : gaacj05 ... (17 Replies)
Discussion started by: kittigolf
17 Replies

13. Shell Programming and Scripting

Sending password over SSH

Hi guys, I wrote a script that logs into around 30 nodes via SSH as root. The issue is that I have to punch in the root password everytime and it is being a hassle. Is there a way to save the password in a secure way and automate the whole procedure. I do not want to save the password in... (9 Replies)
Discussion started by: Junaid Subhani
9 Replies

14. Shell Programming and Scripting

Convert vi editing to text editing

Dear Guru's I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response. Srini (6 Replies)
Discussion started by: thummi9090
6 Replies

15. Solaris

Solaris 10 - password complexity not working

I have been trying to enable password complexity variables on Solaris 10 by editing the /etc/default/passwd file but none of my changes are taking effect (I'm still able to set passwords that violate the rules I am trying to implement). I've tried an O/S reboot after the changes but that had no... (6 Replies)
Discussion started by: triggerhippie
6 Replies