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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to