由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to log in after delete /etc/passwd
相关主题
Solaris 8系统求助file descriptor
help, how to mount a network cdrom ?how to set up printer???
SGI workstationAbout networking printer
新增用户为什么不能login?傻傻的:打印机文件放在哪?
为什么会有这样的信息?问题: Solaris里的小程序出毛病, 这正常吗?
SOSSSS! Passwd file broken问个土问题,solaris workstation怎么启动
how can I change csh to tcsh or bash请问Intel平台的Solaris比Linux/BSD的优势在哪里?
lost root account怎么样打开那 '嘀' 的一声?
相关话题的讨论汇总
话题: passwd话题: delete话题: log话题: etc话题: file
进入Unix版参与讨论
1 (共1页)
w*p
发帖数: 16484
1
Someone delete the /etc/passwd file in my solaris workstation, now nobody can
log in the machine now, does anybody has a way to recover it?
W****n
发帖数: 141
2
try recover from
/etc/shadow
I mean get the username from this file.
then use some script to create a new passwd file
according to its format.
Good Luck

【在 w*p 的大作中提到】
: Someone delete the /etc/passwd file in my solaris workstation, now nobody can
: log in the machine now, does anybody has a way to recover it?

T********r
发帖数: 6210
3
STOP_A
> boot -s
hopefully it can drop you a root shell. if not, you need solaris
setup cd to boot.
Then mount the hard drive, and create a new passwd file.

【在 w*p 的大作中提到】
: Someone delete the /etc/passwd file in my solaris workstation, now nobody can
: log in the machine now, does anybody has a way to recover it?

1 (共1页)
进入Unix版参与讨论
相关主题
怎么样打开那 '嘀' 的一声?为什么会有这样的信息?
[转载] 有没有sun workstation高手SOSSSS! Passwd file broken
Three simple questions for solarishow can I change csh to tcsh or bash
Solaris 8 Companion CD 安装问题lost root account
Solaris 8系统求助file descriptor
help, how to mount a network cdrom ?how to set up printer???
SGI workstationAbout networking printer
新增用户为什么不能login?傻傻的:打印机文件放在哪?
相关话题的讨论汇总
话题: passwd话题: delete话题: log话题: etc话题: file