Hi all.

I'm looking for the best way to automate the realm join command. Ideally I'd achieve that in kickstart or at first login.
I've been considering some kind of shell script, but it seems that it will work only when password is in plain text, which I want to to avoid if possible.

Thanks for any suggestions