On Mon, Oct 01, 2001 at 02:02:46AM -0700, Kris Kennaway wrote:
> Can anyone tell me why the uucp user needs to have a default shell and
> home directory set?
> 
> uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico
> 
> Both of those no longer exist by default in FreeBSD, with my changes.
> Is there any reason why this can't be changed to:
> 
> uucp:*:66:66:UUCP pseudo-user:/:/sbin/nologin
> 
As already was told on "that channel", this comes from the times
when ``uucp'' user didn't have password and the account was used
for UUCP communication over serial lines.  Any dialup UUCP user
should have a passwd(5) entry built like the ``uucp''.

It doesn't really matter what the home directory is set to (IIRC),
but the shell must be uucico(8).

It doesn't make any sense though to enable the ``uucp'' account.
Moreover, doing so may have a bad impact on system's security,
as many UUCP related files are owner by the user ``uucp''.

Having said that, I'm with Sheldon on how this change should be
done, i.e., change home directory to /nonexistent and shell to
/sbin/nologin.


Cheers,
-- 
Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to