Date: Sat, 28 Apr 2007 15:07:38 -0500 From: Eric Crist <mnslinky@gmail.com> To: Tommy Scheunemann <net@mail.arrishq.net> Cc: freebsd-questions@freebsd.org Subject: Re: Login Conf not parsed ? Message-ID: <508D109C-83E1-42C9-966B-D3B81270EA6F@gmail.com> 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 Apr 26, 2007, at 8:57 PMApr 26, 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. > 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 If you can do that, why not change the shell in /etc/master.passwd and rebuild that database?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?508D109C-83E1-42C9-966B-D3B81270EA6F>