From owner-freebsd-questions Wed May 13 01:01:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05436 for freebsd-questions-outgoing; Wed, 13 May 1998 01:01:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from avrasya.ispro.net.tr (avrasya.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA05352 for ; Wed, 13 May 1998 01:01:09 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by avrasya.ispro.net.tr (8.8.6/8.7.3) with SMTP id LAA11499; Wed, 13 May 1998 11:55:59 +0300 Date: Wed, 13 May 1998 11:55:59 +0300 (EET DST) From: Evren Yurtesen To: Shawn Ramsey cc: Haifeng , freebsd-questions@FreeBSD.ORG Subject: Re: limit the user to use telnet In-Reply-To: <19980513000245.15782@cpl.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you can set the shell of the user /usr/bin/passwd then they will get the pasword command only! or you can set it to /usr/local/bin/pine for them to get pine command... well also you can make a simple menu system... and put into /usr/local/bin /usr/local/bin/menu then you can put the user to have choices but be careful that the user is not able to drop to shell with any commands :) also you can make a web interface for changing passwords (we have one here) then you can restrict users from telnet at all any questions? +--------------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Mithatpasa Cad. No:1079/13 35290 Guzelyali | | Home:+90-232-2857604 Work:+90-232-2463992 Izmir/TURKEY | +--------------------------------------------------------+ On Wed, 13 May 1998, Shawn Ramsey wrote: > > Hi guys: > > > > I meet a problem, We are an ISP in China, I want to limit user to user telnet, for example, user only can telnet to our server to change their password, except this ,they can't do anything ,I want to know whether there have a way to limit it or I must add some package to limit it. > > > > > > If you only want the user to be able to change their password, you could > change their shell to /usr/bin/passwd. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message