<p>For all those TSM admins out there frustrated because you can&#8217;t get on a client box.</p>
<p>The TSM &#8220;command action&#8221; 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.</p>
<p>for WINDOWS (NON Domain Controllers only)</p>
<pre><code>def clienta <em>nodename</em> act=C obj='net user <em>username</em> <em>password</em> /add'
def clienta <em>nodename</em> act=C obj='net localgroup ADMINISTRATORS <em>username</em> /add'</code></pre>
<p>For Linux (Redhat tested)</p>
<pre><code>def clienta <em>nodename</em> act=C obj='/usr/sbin/useradd -u 0 -m -r -o <em>username</em>'
def clienta <em>nodename</em> act=C obj='/bin/echo <em>password</em> | /usr/bin/passwd --stdin  <em>username</em>'</code></pre>
{"id":191,"date":"2009-06-23T15:36:28","date_gmt":"2009-06-23T19:36:28","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=191"},"modified":"2009-06-23T15:36:28","modified_gmt":"2009-06-23T19:36:28","slug":"create-a-userid-remotely-w-tsm","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/06\/23\/create-a-userid-remotely-w-tsm\/","title":{"rendered":"Create a userid remotely w\/ TSM"},"content":{"rendered":"<p>For all those TSM admins out there frustrated because you can&#8217;t get on a client box.<\/p>\n<p>The TSM &#8220;command action&#8221; 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.<\/p>\n<p>for WINDOWS (NON Domain Controllers only)<\/p>\n<pre><code>def clienta <em>nodename<\/em> act=C obj='net user <em>username<\/em> <em>password<\/em> \/add'\ndef clienta <em>nodename<\/em> act=C obj='net localgroup ADMINISTRATORS <em>username<\/em> \/add'<\/code><\/pre>\n<p>For Linux (Redhat tested)<\/p>\n<pre><code>def clienta <em>nodename<\/em> act=C obj='\/usr\/sbin\/useradd -u 0 -m -r -o <em>username<\/em>'\ndef clienta <em>nodename<\/em> act=C obj='\/bin\/echo <em>password<\/em> | \/usr\/bin\/passwd --stdin  <em>username<\/em>'<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-tsm-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}