Re: Default user groups

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

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux