tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Answer : Owner of files and directories
@ 1995-06-18 16:30 sherry
  0 siblings, 0 replies; only message in thread
From: sherry @ 1995-06-18 16:30 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-06-18 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-18 16:30 Answer : Owner of files and directories sherry

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