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

Re: It was: How to limit it ? - ssh



On Thu, 18 Nov 1999, Grzegorz Pawel Szostak wrote:

> > > > > Is there an other version of ssh ?
> > > > Both OpenSSH and non-free ssh on potato are linked to PAM. What deb version
> > > > do you have?
> > > I have potato, but: i've installed ssh-nonfree now ldd shows:
> > > 
> > >  libpam.so.0 => /lib/libpam.so.0 (0x4005c000)
> > > and there's no libpam_modules !!!
> > So install them :)). They should be in /lib/modules/security/ - install
> > libpam-modules.
> marek, i'm not an idiot. Like i saod, login use pam_modules but ssh does
> not ! Is there other version of ssh ?
> 
> -----------------------------------
> ls /lib
> drwxr-xr-x   6 root     root         1024 Oct 21 13:16 modules
> drwxr-xr-x   2 root     root         2048 Nov 15 16:30 security

cat /etc/pam.d/ssh 
#%PAM-1.0
auth       required     pam_nologin.so
auth       required     pam_unix.so
auth       required     pam_env.so # [1]
account    required     pam_unix.so

session    required     pam_unix.so
session    optional     pam_lastlog.so # [1]
session    optional     pam_motd.so # [1]
session    optional     pam_mail.so standard # [1]

account    required     pam_unix.so

password   required     pam_unix.so

# Alternate strength checking for password. Note that this
# requires the libpam-cracklib package to be installed.
# You will need to comment out the password line above and
# uncomment the next two in order to use this.
#
# password required       pam_cracklib.so retry=3 minlen=6 difok=3
# password required       pam_unix.so use_authtok nullok md5

G. :))
> 
> 
> G.
> 
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

---------------------------------------------------------------------------
Gerard MacNeil, P. Eng                          macneil@supercity.ns.ca
System Administrator
Supercity Internet Services                     http://www.supercity.ns.ca



Reply to: