[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X with shadow-passwords

On Thu, Jul 20, 2000 at 05:13:12PM +0000, estoy@ver.megared.net.mx wrote:
> Could anybody help me? I can't start an X session as unprivileged 
> user.
> Using xdm neither unprivileged-user or root can login
> Using startx just root can login
> I read in the LinuxFAQ that it might be due to use of non-shadow 
> password programs (as startx, X, xinit, etc). Since I'm using 
> shadow-password "protection" in my system, I think this could be the 
> problem.
> Does anybody know what version of xfree86 has this shadow-password 
> compatibility?
> Is there any chance I get my actual version (3.3.6) to work with 
> shadow-password compatibility?
> I really appreciate any sugestion since I'm a newbie-Debian-user (Is 
> this the reason why nobody answer my questions?, this is not the 
> newbie mailing list I thought )

X does not need to know anything about shadow passwords since libc handles
all of that. Check this:

# ls -l /etc/passwd /etc/shadow /usr/X11R6/bin/X
-rw-r--r--    1 root     root         1686 Jun 14 01:59 /etc/passwd
-rw-r-----    1 root     shadow       1038 Jun 14 01:58 /etc/shadow
-rwsr-sr-x    1 root     root        11584 Jul  7 12:07 /usr/X11R6/bin/X

Do you perms match these? Also, what is contained in /etc/X11/Xserver?


/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '

Reply to: