Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 14:25:43 +0200
From:      Jonathan Weiss <jw@innerewut.de>
To:        Marco van Lienen <marco+freebsd-pf@lordsith.net>, FreeBSD-PF <freebsd-pf@freebsd.org>
Subject:   Re:authpf does authenticate but gives no shell
Message-ID:  <BEC22467.25DA7%jw@innerewut.de>
In-Reply-To: <20050531102855.GA40275@lordsith.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> I've tried only changing the class entry via chpass(1) to authpf and keeping
> the admin users' original shell (/usr/local/bin/bash (according to
> /var/log/messages this wouldn't allow me onto the box; it was warning about
> wrong
> shell or something)).
> After then changing the user shell to /usr/sbin/authpf it atleast echoes the
> Welcome text with the contents of /etc/authpf/authpf.message but then I don't
> get a prompt to input shell commands.
> 

As far as I know, authpf is only for authentification. This means that it
will activate you rules, nothing more. It is not a shell or will it fork to
your shell.

You need a second SSH connection for this.

Please somebody correct me if I'm wrong.

> Hope someone can help me out here.
> 
> Cheers.
> Marco


Jonathan
--

Jonathan Weiss
jw@innerewut.de
http://blog.innerewut.de





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BEC22467.25DA7%jw>