Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2007 03:57:35 +0200
From:      Tommy Scheunemann <net@mail.arrishq.net>
To:        freebsd-questions@freebsd.org
Subject:   Login Conf not parsed ?
Message-ID:  <20070427035735.utrlkhf34gwsw4ok@zeus.arrishq.net>

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




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