Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 18:38:48 +0300
From:      Odhiambo Washington <vedette@iconnect.co.ke>
To:        FreeBSD-Questions <freebsd-questions@FreeBSD.org>
Subject:   RECOVERY
Message-ID:  <20000921183848.G12637@siafu.iconnect.co.ke>

next in thread | raw e-mail | index | archive | help
I was working with a trainee under me (he's learning abit of UNIX from a
novice who is me ;-)). This is on a TESTING BOX so this guy logs in as
root, cd /usr/home where we have about 80 directories with various
owners!!
Then what does he do? he did chwon -R * some_user
Now I need to rename the folders to the rightful owners.
I sound quite comfortable about this but I DO NOT know how I can do it.
Someone MUST be knowing  how some script can help me do that, especially
because the users have uniq uids in the /etc/passwd..somehow??????

Thanks in advance.

Wash

--
Odhiambo Washington
Systems Administrator
Inter-Connect Ltd.
3rd Flr The Chancery
Valley Rd
PO Box 39519 Nairobi, KENYA
Tel: 254 2 711140
Fax: 254 2 718418

If little else, the brain is an educational toy. -Tom Robbins 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000921183848.G12637>