Current time: 11-16-2024, 12:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
Remote useradd mod
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #10
RE: Remote useradd mod
OK i do this and all is fine, even the userdel & groupdel works fine!

i am happing now Smile

my $cmd_ARG = "ssh -l root peter.domain.com /usr/sbin/groupadd -g $sys_gid $sys_group";
my $cmd_ARU = "ssh -l root peter.domain.com /usr/sbin/useradd -c virtual-user -d $homedir -g $sys_group -s /bin/false -u $sys_uid $sys_user

Thanks for your help!

I hope other will use this if they are using multiple web servers! Someone make this thread a Stick!, or in the FAQ or ho to section

Have a nice day everyone!

Rob..
Montreal, Canada
rbtux Wrote:omit the -g option and the group according to the username is automatically created...
10-20-2007 12:06 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Remote useradd mod - robmorin - 10-18-2007, 04:26 AM
RE: Remote useradd mod - joximu - 10-18-2007, 06:20 AM
RE: Remote useradd mod - robmorin - 10-19-2007, 04:46 AM
RE: Remote useradd mod - robmorin - 10-19-2007, 05:36 AM
RE: Remote useradd mod - joximu - 10-19-2007, 06:09 AM
RE: Remote useradd mod - robmorin - 10-19-2007, 06:50 AM
RE: Remote useradd mod - joximu - 10-19-2007, 07:08 AM
RE: Remote useradd mod - robmorin - 10-19-2007, 11:15 PM
RE: Remote useradd mod - rbtux - 10-19-2007, 11:28 PM
RE: Remote useradd mod - robmorin - 10-20-2007 12:06 AM
RE: Remote useradd mod - joximu - 10-20-2007, 12:07 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)