Bug 681658

Summary: RFE: allow kickstart option 'user' to set password expiry and empty PW
Product: [Fedora] Fedora Reporter: Patrick C. F. Ernzer <pcfe>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan, maurizio.antillon, mkolman, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 494832    

Description Patrick C. F. Ernzer 2011-03-02 20:43:33 UTC
when I install a box for a user that I know will not be taken into use on a hostile network, I generally have this in my kickstarts

[...]
# create a user
user --name=user --password=geheim
[...]
%post
(
#
# set a full name
chfn -f 'test user' user
#
# set empty password
passwd -d user
#
# force password change
chage -d 0 user
# the two steps above of course only make sense if you install in a trusted network
# and then log in once to set password BEFORE you put the machine in an untrusted network.
# If you can not do this, set a decent password higher up in this file and disable the -d step
[...]


It would be nice if anaconda's user option was able to achieve this, e.g. with a --passwordsetonfirstlogin option.

The aim is that after installation the user is given the machine (which is set up to come up in run level 5) she/he can click her/his username in gdm and is then be prompted to set a password of their choice.

Comment 1 Chris Lumens 2011-03-03 19:14:04 UTC
See also:  bug 550351

Comment 2 Fedora Update System 2017-04-28 12:50:43 UTC
anaconda-26.21.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f620d8c7c2

Comment 3 Martin Kolman 2017-04-28 13:18:32 UTC
Looks like the Bodhi web UI likes to add random unrelated bugs to an update...