Date: Fri, 31 Mar 2000 15:03:20 +0200 (CEST) From: Zahemszky Gabor <zgabor@CoDe.hu> To: freebsd-security@freebsd.org Cc: alex@delete.org Subject: Re: pamd with logons Message-ID: <200003311303.PAA00755@CoDe.hu> In-Reply-To: <Pine.BSF.4.10.10003272250300.11431-100000@cx638115-b.sthngtn1.ct.home.com> from Alex Michlin at "Mar 27, 0 10:54:38 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> How can I specify in pamd to deny all logons except for a select few? > I've seen in the past someone adding a user account using a ftp exploit. I > want to deny all logons except for my uid? It's not pamd (by the way, in BSD-land, it's only PAM), but normal login: man login.conf, eg. nologin, or shell=/usr/bin/false, etc. ZGabor at CoDe dot HU -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003311303.PAA00755>