手册页部分 1: 用户命令

退出打印视图

更新时间: 2014 年 7 月
 
 

vipw(1B)

名称

vipw - edit the password file

用法概要

/usr/ucb/vipw 

描述

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.

文件

/etc/ptmp

/etc/shells

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
compatibility/ucb

另请参见

passwd(1), vi(1), passwd (4), attributes (5)

附注

This command is obsolete and will be removed in a future release of Oracle Solaris. See useradd(1M) and userdel(1M) for alternative functionality.