OoO En  ce milieu de  nuit étoilée du  samedi 04 août 2007,  vers 03:44,
"Trent W. Buck" <[EMAIL PROTECTED]> disait:

>> Could you give me the content of :
>> /etc/nsswitch.conf
>> /etc/pam.d/login
>> /etc/pam.d/common-auth

> Sure thing, see attached.

OK, the problem is much more easier in fact: sesman needs to be launched
as root. I  did not detect this  because my setup is using  LDAP and you
can bind with LDAP without  having root privileges. But when using plain
shadow file, sesman needs root privileges  to auth a user. I suppose for
NIS that sesman needs to read  (via PAM) some file that is only readable
by root.

The fix is  easy: remove chuid directive in  /etc/init.d/xrdp for sesman
launch. Tell me if it works for you.
-- 
Write clearly - don't sacrifice clarity for "efficiency".
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to