Major problems after upgrade from FC1
A. Gautier
mada at gautier.org
Mon Jul 12 17:56:44 UTC 2004
> Also, the reason I think there is a configuration problem was because when
> following the FAQ to add a user:
>
> ------------------------------
> EXCERPT:
> http://people.redhat.com/kwade/fedora-docs/selinux-faq-en/index.html#id3004455
>
> Q: How can I create a new Linux user account with the user's home
> directory having the proper context?
>
> A: You can create your new user with the standard useradd command, but
> first you must become root with a context of sysadm_r. This context switch
> has been incorporated into the su command:
>
> %>su - root
> Your default context is root:sysadm_r:sysadm_t.
> Do you want to choose a different one? [n] n
> %>useradd auser
> %>ls -Z /home
> drwxr-xr-x auser auser root:object_r:user_home_dir_t
> /home/auser
> ------------------------------
>
> So I thought if I ran ls -Z /home I would get a similar result?
>
> ------------------------------
> OUTPUT: ls -Z /home
>
> drwxr--r--+ <user> <group> (null) <user>
>
I fixed the ls -Z problem by running "setfiles" now it seems that the file
system is corrected. I also removed the policy-strict-sources packages. I
will see if the warnings will be removed from /var/log/messages.
More information about the selinux
mailing list