From: "joe" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 7:25 PM
Subject: REASON #7919 NOT to do things as root!


> While playing around and trying to set aup a chroot environment
> I did the following
> cd /home/honza
> mkdir {etc,dev,lib,bin,.....}
>
> cat /etc/passwd | grep honza >/etc/passwd
>                                                  ^<== location of
the
>                                                           typing
oops
> The leading "/" was unintended.
>
> Aaaaaaaaaaaaahhhhh
>
> Now that everyone has gotten back off their seats from the
laughter, on
> a more serious note is there anything I can do.  Let's pretend I
don't
> have a backup.  .....  ok, now that you've stopped laughing again
....
>
> Is there anything I can do to recover /etc/passwd
>

What's in /var/backups?

Kevin Kinsey


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to