- 论坛徽章:
- 0
|
今天我修该了root 的密码, 但发现/etc/passwd 的刷新时间不对 !
但/etc/shadow 的刷新时间是对的 !
# ls -l /etc/passwd
-r--r--r-- 1 root sys 1204 Jun 24 2003 /etc/passwd
# ls -l /etc/shadow
-r-------- 1 root root 733 Dec 30 09:53 /etc/shadow
# showrev
Hostname: SESM
Hostid: 83126f99
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.8 Generic 108528-15 April 2002
#man pwconv
NAME
pwconv - installs and updates /etc/shadow with information
from /etc/passwd
可见, 该指令用/etc/passwd 刷新/etc/shadow .
请多指点 !  |
|