tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: sherry () canidae ! cps ! msu ! edu
To: tru64-unix-managers
Subject: Answer : Owner of files and directories
Date: Sun, 18 Jun 1995 16:30:49 +0000	[thread overview]
Message-ID: <96075320706556.tru64-unix-managers.marc@archive.invalid> (raw)

My original question:

>     I added Rsherry to the /etc/passwd file to have the same uid and
> gid as root. Somehow all the files and dirctories originally owned by
> root are now owned by Rsherry. Command "chown" will not do anything,
> because Rsherry has the same uid as root. I deleted Rsherry from the
> passwd file hoping that will put things back to what they were. But
> they remain the same. It is really annoying.
> 
>     How can I have them changed back to owned by root?

Answer:
    Remove /etc/passwd.pag and /etc/passwd.dir. :-) I figured it out
by trussing "ls -l /".

Sherry

                 reply	other threads:[~1995-06-18 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox