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

Re: guid and uid of users..



On Sun, 22 Jun 1997, A. M. Varon wrote:

> 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.

I studied awk for a few minutes, incorporated it in my bash script,
presto! i solved my own problem.

Sorry for the bandwidth.



                 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                 Andre M. Varon         Lasaltech, Incorported
                 Technical Head         Fax-Tel: (034)433-3520
                 e-mail  : andrelst@mozcom.com
                 web page: http://www.lasaltech.com/andre.html
                 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=





--
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: