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->
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/seawolf-list