-----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-----
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to