Re: Lost file

"Luciano ES" <[email protected]> Sat, 07 Jun 2003 16:25:03 -0300
Newsgroups gmane.linux.redhat.release.seawolf
Message-ID <[email protected]>
	You can only edit /etc/profile as root. And there is only one /etc/profile. Even if I had been logged in as someone else, there wouldn't be another /etc/profile for me to copy from.
	I've been too busy with some work and still didn't get a chance to boot into Linux and try to fix it.

-- 
	Luciano Espirito Santo
	Santos - SP - Brasil

<-quote->**************************************************
>To: [email protected]
>Subject: Re: Lost file
>From: Joel Massey <[email protected]>

>were you logged in as root or a user???  If you were logged in as a user, log in as root, recreate the file, and give your userID permissions to the file. If you were logged in as root you may have problems.
>
>--- "Luciano ES" wrote:
>	Hi. I am running Red Hat 7.3 and I just deleted my /etc/profile and can no longer log in. I was editing it, saved it, but Kate saved a zero byte file instead of what I saw on the screen. What can I do to recover?

********* END OF ORIGINAL MESSAGE *********</-quote->