Description of problem: After using Anaconda kickstart, adding a user in %post with password, firstboot create user dialog shows the created user already in it's dialog. I think this shouldn't be happenning. I see no reason firstboot would gather the name of the already-present user. Is there anything specific why firstboot does this? I will file this as a bug. Thanks. Version-Release number of selected component (if applicable): firstboot-1.4.6-1 How reproducible: Use Anaconda's kickstart, then create a user in %post with useradd and usermod. Firstboot create user dialog shows that user at boot time. Steps to Reproduce: 1. Add a user in Anaconda's kickstart %post 2. 3. Actual results: Firstboot provides already created username in it's create user dialog. Expected results: Empty fields for new user account Additional info: There is no additional information at this time.
What user is it showing, and what parameters are you using to create the new user? I've seen this before when certain packages create users sloppily, in which case it's a packaging problem. We might still be making an assumption that's just not right in firstboot though.
Here is the entire %post section of the kickstart file: ----- %post useradd kadischi # Default user password: kadischi usermod -p '$1$gRE3sr6Y$2LKJsTzKnKumg2/noieRR1' kadischi echo -e "[security]\nDisallowTCP=false\n\n[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=kadischi\n\n[greeter]\n" > /etc/gdm/custom.conf ----- It does look a bit sloppy as you describe, with nothing more than a username specified to useradd. I'll check out more lengthy options to useradd and report any further success or failure. Thanks.
Since you're not specifying a UID for the new user, I think it defaults to 500. In firstboot's new user module, it automatically fills in the UI if it finds a user with that UID. Seems pretty goofy to me, so this is fixed in Rawhide now. By the way, kickstart now supports adding users via the "user" command which we added in time for FC6.
Ok thank you Chris Lumens much appreciated work you're doing there.