D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Embarrassing Script Question was Java Question

 

Hi

Thanks for the help with my script.

I am limiting my efforts to Ubuntu and what I want to do now is
edit /etc/group on the fly.  In particular to edit the following line
uucp:x:10 to uucp:x:10:your name.

Could some one  give me some advice on this.  I hesitate to break things
but could it be a simple as
Make a back up
delgroup uucp:x:10
addgroup uucp:x:10:username

having somehow got peter into username via whoami

All the best

Peter



-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html