Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 20:40:13 +0100
From:      Julien Gabel <jpeg@thilelli.net>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: user setup question.
Message-ID:  <4053639D.30200@thilelli.net>
In-Reply-To: <20040313180447.GA25158@keyslapper.org>
References:  <20040313180447.GA25158@keyslapper.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| I have an odd question.
|
| I need to add a user to a system, but I don't want this user to be
| able to log in from outside - meaning only from the console itself.
|
| I know root is set up this way, but I'm not sure how to do this.

Even for the root account, I think it depends of the configuration
of the software used to connect from the outside (ssh, etc.).

| Any pointers?

I don't know if it is the best way to achieve this, but setting
the 'ttys.allow' capability of login.conf(5) to 'ttyv0' may help.

~  1/ Don't set it to 'console'... or be prepared to boot on LiveCD
~     to correct the situation :)
~  2/ It may be better not to use the 'default' class.

- --
- -jpeg.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAU2OctwbGgPtqszARAqAZAJ4+VCHU4SP+WajwJTHq+//Xme/G5QCeOBx8
3CahPRYc3GvA1Iy6qu30+bY=
=sNz+
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4053639D.30200>