Date: Fri, 16 Feb 2001 17:27:23 -0800 (PST) From: Taki Shirayanagi <takiman1@yahoo.com> To: freebsd-questions@freebsd.org Subject: nologin in login.conf using ssh Message-ID: <20010217012723.46533.qmail@web11204.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hello I am trying to make it so that people can not telnet or ssh into my system unless they are in a certain login class. I can make it so that people who telnet in can not login in but SSH still works. I am using FreeBSD takiweb.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Feb 8 02:13:02 PST 20 01 root@takiweb.com:/usr/src/sys/compile/takiweb i386 Here is the login.conf that I am using :copyright=/etc/COPYRIGHT:\ :accounted:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/bin /usr/bin /usr/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ :nologin=/etc/nologinfree:\ :cputime=unlimited:\ :datasize=5m:\ :stacksize=5m:\ :memorylocked=5m:\ :memoryuse=5m:\ :filesize=25m:\ :coredumpsize=1m:\ :openfiles=25:\ :maxproc=10:\ :sbsize=unlimited:\ :sessionlimit=1:\ :ftp-chroot:\ Thanks Taki __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010217012723.46533.qmail>