Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 16:52:23 +0200
From:      Maciej Milewski <milu@dat.pl>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>, stan <stanb@panix.com>
Subject:   Re: What invokes cricket on FreeBSD
Message-ID:  <200909031652.24359.milu@dat.pl>
In-Reply-To: <20090903122532.GA1604@teddy.fas.com>
References:  <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dnia czwartek, 3 wrze=B6nia 2009 o 14:25:32 stan napisa=B3(a):
> Now, to do so I need to be the cricket
> user, so I tried to su - cricket. I was told that this user was not
> avaialble. Looking in /etc/passwd. I found that this users shell was list=
ed
> as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I
> still get the smae error message when I try to su to that user.
>
> What do I need to change to be able to su to this suer, and might this be
> the reason tha it's crontab entry is notbeing run?
Do not edit /etcpasswd to change shell. Use command:
chpass -s /bin/shell username
Or if you really want to do it manually rebuild it through pwd_mkdb. More i=
nfo=20
as always in excelent FreeBSD manpages.

Regards,
Maciej Milewski



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