Quoting Hubert Mercier ([EMAIL PROTECTED]):
> Package: login
> Version: 1:4.0.18.1-7
> Severity: normal
> 
> Hi,
> 
> Setting DEFAULT_HOME to "no" in /etc/login.defs has no effect : users
> without valid homedir are still able to log in.

Well, partly in French dans le texte:

[EMAIL PROTECTED]:~> grep DEFAULT_HOME /etc/login.defs
DEFAULT_HOME    no
[EMAIL PROTECTED]:~> grep spongebob /etc/passwd
spongebob:x:1002:1002:Sponge Bob 
SquarePants,,,:/home/spongebob_has_no_home_but_a_pine_apple:/bin/bash
[EMAIL PROTECTED]:~> login
mykerinos login : spongebob
Password:
Last login: Mon May 21 18:36:18 2007 on pts/2
Linux cc-mykerinos 2.6.20-1-686 #1 SMP Tue Apr 24 21:52:11 UTC 2007 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Impossible d'aller dans le répertoire 
« /home/spongebob_has_no_home_but_a_pine_apple »


So, nothing wrong in my own environment.

The same happens with "su -". Login is still possible with "su" alone,
but that's the intended behaviour as, in such case, $HOME is inherited
from the environment of the user who calls "su".


Attachment: signature.asc
Description: Digital signature

Reply via email to