From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 12:01:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC48316A400 for ; Fri, 27 Apr 2007 12:01:16 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.freebsd.org (Postfix) with ESMTP id 351E613C489 for ; Fri, 27 Apr 2007 12:01:16 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l3RC19ox031638; Fri, 27 Apr 2007 14:01:09 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Fri, 27 Apr 2007 14:01:08 +0200 User-Agent: KMail/1.9.6 References: <20070427035735.utrlkhf34gwsw4ok@zeus.arrishq.net> In-Reply-To: <20070427035735.utrlkhf34gwsw4ok@zeus.arrishq.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704271401.09108.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Tommy Scheunemann Subject: Re: Login Conf not parsed ? 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: Fri, 27 Apr 2007 12:01:16 -0000 On Friday 27 April 2007, Tommy Scheunemann wrote: > Hello everyone, > > I'm running a FreeBSD 6.2 system, only have SSH access to it. The only > user which is allowed to login had Bash (installed from the Ports) > installed. > Since 2 days I can't login any longer - Bash misses a library. I tried > to create a login_conf file in the users home directory but it seems > that the file isn't parsed. Did you name it .login_conf (note the dot)? > Content is: > > --- snip --- > > me:\ > > :shell=/bin/sh:\ > :setenv=SHELL=/bin/sh: > > --- snip --- > > I've created the database via cap_mkdb at my local system and uploaded > this file as well, then changed the file permissions to 0400 and > ownership is right as well. Just - that file isn't parsed :( > > Any other way of changing the user's shell - could install in the > worst case some kind of PHP shell - are also welcome. Try 'chsh ' as root. > The library which is missing could be uploaded from my local system, > just - of course - I don't have any write permissions in the usual > locations. > > Thanks in advance HTH, Pieter de Goeje