Bug 147962

Summary: selinux and authconfig ignored in kickstart
Product: Red Hat Enterprise Linux 4 Reporter: blbooth <blbooth>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
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: 2005-02-14 15:39:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ks script from installed system none

Description blbooth 2005-02-14 04:18:08 UTC
Description of problem:

My kickstart script contains

selinux --disabled
authconfig --enableshadow --enablemd5

but my installed system ends up without shadow passwords and has
SELINUX=enforcing

-----/etc/passwd-----
root:$1$hRlkk0$KRheQev7fQ6RxoxowNkfd/:0:0:root:/root:/bin/bash
bin:*:1:1:bin:/bin:/sbin/nologin
daemon:*:2:2:daemon:/sbin:/sbin/nologin
lp:*:4:7:lp:/var/spool/lpd:/sbin/nologin
<snip>
---------------------


-----/etc/selinux/config-----
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
-----------------------------

Comment 1 blbooth 2005-02-14 04:18:08 UTC
Created attachment 111042 [details]
ks script from installed system

Comment 2 Jeremy Katz 2005-02-14 15:39:42 UTC
You removed authconfig from the list of packages to be installed.  authconfig is
required for setting up the selinux and auth related stuff.

Comment 3 blbooth 2005-02-14 23:15:07 UTC
> You removed authconfig from the list of packages to be installed.  authconfig is
> required for setting up the selinux and auth related stuff.

Ooops.  Thanks for pointing that out.  Sorry to bother you.