From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:52:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F511065672 for ; Thu, 3 Sep 2009 14:52:32 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id D1E248FC0C for ; Thu, 3 Sep 2009 14:52:31 +0000 (UTC) Received: from localhost (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 84A311119; Thu, 3 Sep 2009 16:52:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by localhost (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SH0pjYY4yOFg; Thu, 3 Sep 2009 16:52:26 +0200 (CEST) Received: from snifi.dat.pl (87-204-241-35.ip.netia.com.pl [87.204.241.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id A0FE71117; Thu, 3 Sep 2009 16:52:26 +0200 (CEST) From: Maciej Milewski To: Free BSD Questions list , stan Date: Thu, 3 Sep 2009 16:52:23 +0200 User-Agent: KMail/1.12.0 (FreeBSD/8.0-BETA3; KDE/4.3.0; amd64; ; ) References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> In-Reply-To: <20090903122532.GA1604@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <200909031652.24359.milu@dat.pl> Cc: Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:52:32 -0000 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