Skip site navigation (1)Skip section navigation (2)
Date:      09 May 2001 12:36:01 -0400
From:      Chris Shenton <chris@shenton.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Restrict login access if no homedir? /etc/login.access group?
Message-ID:  <87heyufpji.fsf@thanatos.shenton.org>
In-Reply-To: Chris Shenton's message of "09 May 2001 12:05:20 -0400"
References:  <87y9s6fqyn.fsf@thanatos.shenton.org>

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

[bad form to self-followup, but some useful details]

Chris Shenton <chris@shenton.org> writes:

> 1. Prevent login access if the user's homedir is non-existent. Is
>    there a way to set this? Most systems will log you in and put you
>    in "/", not what I want.

I just found a way I think can do this in /etc/login.conf (from man):

     requirehome      bool      false            Require a valid home
                                                 directory to login.

But when I check the system default file, some user classes specify
"requirehome" while others specify "requirehome@".  Is there any
significance to the "@" part, or is it just a way for humans to see
the field without it taking effect? (e.g., it could have been written
"requirehomeNOT" or something).

The "@" bit isn't mentioned in the man page though it's used lots of
places in login.conf.

Thanks.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87heyufpji.fsf>