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


Post Reply 
Remote useradd mod
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Remote useradd mod
Is there anything in the logfile on the remote machine?

I'd try:
Code:
my $cmdR = "ssh -l root peter.domain.com /usr/sbin/useradd -u $sys_uid $sys_user";

maybe also an "-m" to create the home, and maybe also the homedir ( -d home ) - it depends on what you want to do...

/J
10-19-2007 06:09 AM
Visit this user's website 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)