users
I had to add some users to a remote site.
X traffic from there is way to slow to use system-config-users. I got around it by doing for nam in user1 user2 user3 user4 do ** groupadd $nam ** useradd -g $nam $nam ** echo $nam | stdin -- passwd $nam done (Passwords were actually set to something else) But now I realize they should be in group x (I don't want to change their original group, just add them to group x).* Normally I would use system-config-users and add them but the x traffic is too slow.* I am not sure how to do it without X.* Is it simply a matter of editing /etc/passwd and adding the additional groups?* Or perhaps editing /etc/group and adding ,user1,user2 .... to the entry for group x?* Is there anything else that would need to be done? -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list |
users
On Wed, 12 Dec 2007, tony.chamberlain@lemko.com wrote:
> > > I had to add some users to a remote site. > X traffic from there is way to slow to > use system-config-users. > > I got around it by doing > > for nam in user1 user2 user3 user4 > do > groupadd $nam > useradd -g $nam $nam > echo $nam | stdin -- passwd $nam > done you don't actually need to add their user-private groups first -- that's the default. > (Passwords were actually set to something else) > > But now I realize they should be in group x > (I don't want to change their original group, > just add them to group x). Normally I would > use system-config-users and add them but > the x traffic is too slow. I am not sure how > to do it without X. Is it simply a matter > of editing /etc/passwd and adding the > additional groups? Or perhaps editing > /etc/group and adding ,user1,user2 .... > to the entry for group x? Is there anything > else that would need to be done? $ man usermod rday -- ================================================== ====================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ================================================== ====================== -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list |
Users
NeoR2615
-- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 07:28 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.