Create a userid remotely w/ TSM

For all those TSM admins out there frustrated because you can’t get on a client box.

The TSM “command action” is an excellent way to gain access to any TSM client that uses the TSM central scheduler. To do this, run the following commands on your TSM server.

for WINDOWS (NON Domain Controllers only)

def clienta nodename act=C obj='net user username password /add'
def clienta nodename act=C obj='net localgroup ADMINISTRATORS username /add'

For Linux (Redhat tested)

def clienta nodename act=C obj='/usr/sbin/useradd -u 0 -m -r -o username'
def clienta nodename act=C obj='/bin/echo password | /usr/bin/passwd --stdin  username'

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*