Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2007 14:01:08 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Tommy Scheunemann <net@mail.arrishq.net>
Subject:   Re: Login Conf not parsed ?
Message-ID:  <200704271401.09108.pieter@degoeje.nl>
In-Reply-To: <20070427035735.utrlkhf34gwsw4ok@zeus.arrishq.net>
References:  <20070427035735.utrlkhf34gwsw4ok@zeus.arrishq.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <user>' 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



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