Quote:
Originally Posted by lovyagin
Hi AndrewSerk!
Will liveuser be an owner of home directory and copied files after running such %post --nochroot script?
And, sorry, I'm not going to set any password, I just want gdm/mgm to ask for a password although it is empty.
|
Yes, the liveuser will own the files copied to /home/liveuser . (at least that is how it works here) If you have a issue along those lines you could always use something like "chmod 755" to give the file the permissions you want.
The user and password are set in the fedora-live-base.ks with the lines:
Code:
# add fedora user with no passwd
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
passwd -d liveuser > /dev/null
You may be able to change the last line to something that would allow you to enter a new password every login but I am not sure how to do that.
I see from your first post you may want to use a different language. If you want to set a different default language,keyboard and time zone for the livecd you can do that in the fedora-live-base.ks by changing the following lines that appear at the top of the .ks .
Code:
lang en_US.UTF-8
keyboard us
timezone US/Eastern
Hope this helps,