[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: guid and uid of users..



"A. M. Varon" <andre@lasaltech.lasaltech.com> writes:

> i'm planning to convert a couple of users to a specific uid and guid. I
> have specified it in my passwd file. Since i have to chown the the users
> subdirectory by hand... could anybody suggest an awk or perl script(have
> yet to learn it...) to do it en masse?

If you're just going to chown their subdirectory (home directory), all
you may need is "chown -R user.group /home/user", but it depends on
your situation.

You can scan your entire filesystem for all the files they own with

  find / -uid

Hope this helps
-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: