<br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 8:16 AM, BOWMAN MARK <span dir="ltr"><<a href="mailto:markbowman@ntlworld.com">markbowman@ntlworld.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div>Can anyone suggest a way to action some user setup stuff during a kickstart?</div><div>The kickstart seems to stop at the su command.</div><div>.</div><div> </div></blockquote><div> </div><div>Why su at all?  You know what the defaults are for your systems.  why not do something like:<br>
<br>mkdir -m 0700 /home/smith/.ssh</div><div>chown smith:smith /home/smith/ssh<br>[put key material in authorized_keys here]<br>chmod 644 /home/smith/.ssh/authorized_keys<br><br>That seems more straightforward to me.  It's not like you actually need the user's environment; you're not starting a service dependent upon that environment. </div>
</div><br>