hi chris, On 02/10/2011 08:35 PM, Chris Smart wrote: > On Fri, Feb 11, 2011 at 6:18 AM, g <geleem@xxxxxxxxxxxxx> wrote: > hey g >> consider /etc/default/useradd; >> >> Â # useradd defaults file >> Â GROUP=100,20,63,1010,2020 > > Thanks, but I actually tried this and it didn't work because it treats > them as a single group, "100,20,63.." and doesn't separate them :-( then how about this; add an 'alias' to you '.bashrc', like 'usernew' that will call a script that takes name entry as argument and passes it to useradd -G 100,20,63,1010,2020 $1 that way you would not have to retype groups again and get what you want. if you had several different group groupings, you could have different aliases with names to describe the groups. hth. -- peace out. tc.hago, g . **** in a free world without fences, who needs gates. ** help microsoft stamp out piracy - give linux to a friend today. ** to mess up a linux box, you need to work at it. to mess up an ms windows box, you just need to *look* at it. ** learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ ****
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines