On Thu, Mar 29, 2012 at 8:16 AM, BOWMAN MARK <[email protected]>wrote:

> Can anyone suggest a way to action some user setup stuff during a
> kickstart?
> The kickstart seems to stop at the su command.
> .
>
>

Why su at all?  You know what the defaults are for your systems.  why not
do something like:

mkdir -m 0700 /home/smith/.ssh
chown smith:smith /home/smith/ssh
[put key material in authorized_keys here]
chmod 644 /home/smith/.ssh/authorized_keys

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.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to