You are not logged in.

#1 2010-08-26 18:11:36

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

help me ,tee /etc/passwd ..passwd is NULL

i'm play tee

sudo tee /etc/passwd

result:
[archlinux@Kernel etc]$ ls -al passwd
-rw-r--r-- 1 0 root 0  8月 27 02:03 passwd
file is empty

help me ..

How to recover passwd

Offline

#2 2010-08-26 18:16:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: help me ,tee /etc/passwd ..passwd is NULL

Use your backup.

Offline

#3 2010-08-26 18:30:55

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

my system reboot...

no user

i' want cp passwd- passwd .. i no access

Offline

#4 2010-08-26 18:34:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: help me ,tee /etc/passwd ..passwd is NULL

Boot a liveCD and copy that file from you backup to /etc/passwd.

Offline

#5 2010-08-26 18:36:59

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

copy other linux system is /etc/passwd to /archlinux systemin it's /etc/passwd ??

Offline

#6 2010-08-26 18:40:48

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

i want 

liveCD

copy /etc/passwd- passwd

thx bro..

Offline

#7 2010-08-26 18:47:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: help me ,tee /etc/passwd ..passwd is NULL

Kernel@Sh wrote:

copy other linux system is /etc/passwd to /archlinux systemin it's /etc/passwd ??

No, copy *your* /etc/passwd from *your* backup. If you don't have a backup, you have a problem.

Offline

#8 2010-08-26 18:54:25

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

thx

i'm copy passwd- to passwd

System launched

But starting to gdm...Screen flicker..Flashing screen
Can not login

Offline

#9 2010-08-26 19:07:23

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: help me ,tee /etc/passwd ..passwd is NULL

Boot back to you live CD and try running "pwconv".

Last edited by loafer (2010-08-26 19:07:55)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#10 2010-08-26 19:14:27

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

hardware abstraction layer 。。。start faild

Offline

#11 2010-08-26 19:19:24

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: help me ,tee /etc/passwd ..passwd is NULL

The restored passwd file isn't empty as well is it?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#12 2010-08-26 19:38:11

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

Passwd file after the resumption of normal

Start to gdm login screen flicker does not appear when I login

HAL failed to start

Offline

#13 2010-08-26 21:02:09

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: help me ,tee /etc/passwd ..passwd is NULL

Do you have a problem except hal failing to start?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#14 2010-08-30 12:13:37

Kernel@Sh
Member
Registered: 2009-12-12
Posts: 27
Website

Re: help me ,tee /etc/passwd ..passwd is NULL

i'm Re-installed the system..


thx

Offline

Board footer

Powered by FluxBB