password expiry

Piotr Gnyp toread at discordia.pl
Tue Jun 22 08:01:34 PDT 2004


On Thu, 13 May 2004, Matthew Seaman <m.seaman at infracaninophile.co.uk> wrote:

> Ah... so you're using sshd(8).  You didn't happen to mention that
> rather relevant information before.  Can you try logging in on the
> console to test your changes?  If login.conf settings work on the
> console then sshd is the problem.  Otherwise, it's the login.conf
> stuff itself which is at fault.

No they don`t. Here again is my login class:
unknown:\
         :passwd_format=md5:\
         :copyright=/etc/COPYRIGHT:\
         :welcome=/etc/motd:\
         :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
         :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/X11R6/bin:\
         :nologin=/var/run/nologin:\
         :cputime=15m:\
         :datasize=8m:\
         :vmemoryuse=8m:\
         :stacksize=2m:\
         :memorylocked=4m:\
         :memoryuse=5m:\
         :filesize=8m:\
         :coredumpsize=8m:\
         :openfiles=38:\
         :maxproc=20:\
         :priority=0:\
         :requirehome:\
         :minpasswordlen=6:\
         :passwordtime=30d:\
         :warnpassword=1w:\
         :umask=002:\
#        :ignoretime@:\
         :idletime=10m:\
         :sessionlimit=3:\
         :charset=ISO-8859-2:\
         :accounted:\
         :ttys.accounted=ttyv*,ttyp*:\
         :lang=pl_PL.ISO8859-2:

Where lies the error?

Some limits are working:
cputime         15:00
filesize        8192 kbytes
datasize        8192 kbytes
stacksize       2048 kbytes
coredumpsize    8192 kbytes
memoryuse       5120 kbytes
vmemoryuse      8192 kbytes
descriptors     38
memorylocked    4096 kbytes
maxproc         20
sbsize  unlimited

But not the ones used for password control...


More information about the freebsd-questions mailing list