That's exactly where I started and hence my 'quest' for up to date
documentation. One example that doesn't work is the --homedir option when creating a user:
Creates a new user on the system.
user --name=<username> [--groups=<list>] [--homedir=<homedir>] [--password=<password>] [--iscrypted] [--shell=<shell>] [--uid=<uid>]
--name= — Provides the name of the user. This option is required.
--groups= — In addition to the default group, a comma separated list of group names the user should belong to. The groups must exist before the user account is created.
--homedir= — The home directory for the user. If not provided, this defaults to /home/<username>.
--password= — The new user's password. If not provided, the account will be locked by default.
--iscrypted= — Is the password provided by --password already encrypted or not?
--shell= — The user's login shell. If not provided, this defaults to the system default.
--uid= — The user's UID. If not provided, this defaults to the next available non-system UID.
I have/had in my ks.cfg the following line in RHEL5.5:
user --name=cdnadmin --password=<encryptedpassword> --iscrypted
which worked like a charm, creating the user, group, home dir and copied over the skeleton files, just like it would do when creating a user manually with useradd.
However, when using the same option with RHEL6, the user gets created but not the group and homedir. Also the skeleton files don't get copied. So I added the --homedir option like this:
user --name=cdnadmin --homedir=/home/cdnadmin --password=<encryptedpassword> --iscrypted
but no luck there. The only option I have is to add the user manually later on. The advantage of the user option in kickstart is that you can set the encrypted password so that a user can log in at once.
Another example that works in 5.5 is the LVM partitioning where you can use --percent to set the size. This option made my installation crash. When I set it to fixed size it all works. No big problem indeed but it would be handy to know what else they've changed at RedHat and is 'not documented yet'.