Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 1997 22:14:20 -0700 (MST)
From:      Don Yuniskis <dgy@rtd.com>
To:        leec@adam.adonai.net (Lee Crites)
Cc:        adam@cyberhall.com, questions@FreeBSD.ORG
Subject:   Re: Users with no shells
Message-ID:  <199704020514.WAA00118@seagull.rtd.com>
In-Reply-To: <Pine.BSF.3.95.970401224540.11123A-100000@adam.adonai.net> from "Lee Crites" at Apr 1, 97 10:49:11 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> =>I have perused many a FAQ without finding much on this topic--  What 
> =>is the best way to create an account with no interactive shell, but 
> =>with the ability to retrieve mail via POP?  I created an account with 
> =>the shell given as /nonexistent (the "no" option in adduser), and 
> =>that seems to work fine except that adduser complains about "illegal 
> =>shell" during the check process.  Are there any problems with doing 
> =>this this way?  Is there a better way to accomplish this?
> 
> I use /bin/date for the ones I don't want to have shell access.  They
> log in, use their login id and password, then get the current time and
> date and are logged off.
> 
> I had thought of writing a quick program which would print out a message
> of some sort (perhaps from a file), but haven't done it yet.  I am close
> enough to talking myself into doing it that if there was some real
> interest, I could be talked into it. 

How about 'cat filename'??  :>

--don



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