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

Re: off topic: password strategy as an ISP



On  4 Jul, Nils Rennebarth wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Thu, 3 Jul 1997, Pavel Galynin wrote:
>>> attempts to telnet from the one source, but as we've disabled shell
>>> access for dial-in clients it'll just give them motd if they do get in
>>> that way!
>>
>>i'm not at all knowledgeable in linux, but chsh changes a default shell
>>of the user in /etc/passwd. (at least on sunOS)
> Yes, but how do you run it without getting a shell login in the first
> place?
> 
Easy. The users login shells are:

#!/bin/sh
cat <<__EOF__
No telnet login allowed.

** Insert the motd here **
 
__EOF__
sleep 5
exit 0

Ciao,
	Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: