Bug 681658 - RFE: allow kickstart option 'user' to set password expiry and empty PW
Summary: RFE: allow kickstart option 'user' to set password expiry and empty PW
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 494832
TreeView+ depends on / blocked
 
Reported: 2011-03-02 20:43 UTC by Patrick C. F. Ernzer
Modified: 2023-07-26 12:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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...

Comment 4 Fedora Admin user for bugzilla script actions 2023-07-26 12:05:08 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.