Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 20:20:29 +0200
From:      Francesco Casadei <fcasadei@inwind.it>
To:        Matthew King <revghost8@dingoblue.net.au>
Cc:        questions@freebsd.org
Subject:   Re: Users
Message-ID:  <20010418202029.A1569@goku.kasby>
In-Reply-To: <000801c0c7f6$0d80c900$0200a8c0@win2kbox>; from revghost8@dingoblue.net.au on Wed, Apr 18, 2001 at 08:55:15PM %2B1000
References:  <000801c0c7f6$0d80c900$0200a8c0@win2kbox>

next in thread | previous in thread | raw e-mail | index | archive | help

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 18, 2001 at 08:55:15PM +1000, Matthew King wrote:
> Hi,
> i was wondering, is there a way i can give my users (/usr/home) FTP acces=
s but now telnet access?
> If so can you please tell me how to do it.
>=20
> Thanx
>=20
> Matthew
> end of the original message

Set the user's shell to /sbin/nologin, it shows the message "This account is
currently not available." and then exits.

# pw usermod username -s /sbin/nologin

where username is the name of the user you don't want to be able to login.

	Francesco Casadei
--=20
You can download my public key from http://digilander.iol.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B


--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE63drtfsM3XxZOsXsRAh3JAKDsL64Av9BoRP//csmC1zv5UVqYRgCgh69R
HMvb2sI7xRMYG9u0vtnJ+fU=
=9E6Q
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--

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?20010418202029.A1569>