Login Conf not parsed ?

Eric Crist mnslinky at gmail.com
Sat Apr 28 20:07:42 UTC 2007


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?


More information about the freebsd-questions mailing list