[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux] Re: [linux-team] login interdit/su ok
Pascal Bleser wrote:
>
> Mais j'aimerais bien forcer ça en interdisant le login direct mais autoriser
> le su - sur ces utilisateurs projets. FTP n'a rien à avoir là-dedans...
J'ai trouvé ceci dans le fichier /etc/login.defs d'une machine Debian :
#
# If defined, the presence of this value in an /etc/passwd "shell" field
will
# disable logins for that user, although "su" will still be allowed.
#
# XXX this does not seem to be implemented yet... --marekm
# no, it was implemented but I ripped it out ;-) -- jfh
NOLOGIN_STR NOLOGIN
Je ne sais pas si ça marche .. à en croire les commentaires, ça ne
devrait pas fonctionner (ça ne fonctionne pas chez moi), mais bon, tu
peux toujours essayer :)
Alain
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.