Red Hat Bugzilla – Bug 118853
s-c-u doesn't properly label attributes on created users
Last modified: 2007-11-30 17:10:38 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
The anaconda created user works fine, users created with s-c-u can't
login via gdm or ssh. Permissions are denied to use any of the . files
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install from Development tree
2. create user via firstboot
3. login as firstboot user
4. create user via system-config-users
5. logout and attempt to login with new user
Actual Results: login fails with many errors, especially related to
gnome-settings-daemon filing to access the users new home directory.
Expected Results: normal login
too many error messages and AVCs to mention
Can you try creating a user with luseradd and then try to log in with
that user. Does the problem still occur with that user?
created a new user with luseradd, there were still problems logging in.
The user home directory was messed up in its context and GDM login
failed severly, here is the ssh trace:
[ggw@baboushka ggw]$ ssh email@example.com
/usr/X11R6/bin/xauth: timeout in locking authority file
-bash: /home/sfw/.bash_profile: Permission denied
-bash-2.05b$ ls -lZa
drwx------+ sfw sfw root:object_r:home_root_t .
drwxr-xr-x root root system_u:object_r:home_root_t ..
?--------- root root (null) .bash_logout
?--------- root root (null) .bash_profile
?--------- root root (null) .bashrc
?--------- root root (null) .emacs
?--------- root root (null) .gtkrc
drwxr-xr-x sfw sfw root:object_r:home_root_t .kde
drwxr-xr-x sfw sfw root:object_r:home_root_t .xemacs
?--------- root root (null) .zshrc
*** This bug has been marked as a duplicate of 118061 ***
Bug 118061 is not public :-(
P.S. See also bug 118571.
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.