[Klug-general] managing multiple users
Michael E. Rentell
michael.rentell at ntlworld.com
Fri Sep 24 10:38:13 UTC 2010
I don't very often respond, although I do lurk all the time. But on this
topic I can stick my skinny oar in.
I used to do Mandriva but subsequently found PCLinuxOS to be even
better. It is based on Mandriva and uses a lot of their tools, including
user management. But software updates etc come via synaptic.
The only drawback with pclos is that they don't do a 64-bit version
which is a pity. When I queried this I got a terse reply 'It all works
fine at 32-bit but if you really want 64-bit please go ahead and compile
it yourself.'
I wish....
MikeR
in Folkestone
On 24/09/10 10:17, Margot wrote:
> On Fri, 24 Sep 2010 09:51:21 +0100
> Evan Ingram<evan.ingram at cariss.co.uk> wrote:
>
>> Hi all
>>
>> I always assumed managing users would be a lot simpler in linux,
>> but im struggling to find an easy way to add 500+ users into
>> groups. Got a couple of groups that I need all users to be a part
>> of.
>>
>> #!/bin/sh
>>
>> for USER in userA userB userC userD userE; do
>> usermod -G USERS $USER
>> done
>>
>> script above should do the trick, but then I'd need to get a list
>> of all my usernames in the correct format, ie userA userB userC,
>> so i'd have to use a combination of awk/sed/whatever
>> on /etc/passwd. Is there an easier way?
>>
>> cheers
>>
>
> Dead easy in Mandriva - just use the drakuser GUI and edit the
> group to include as many users as you want. No idea what distro
> you're using, but if not Mandriva then maybe your distro has
> something similar?
>
>
>
More information about the Kent
mailing list