authpf does authenticate but gives no shell

Jonathan Weiss jw at innerewut.de
Tue May 31 05:25:48 PDT 2005


> 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 at innerewut.de
http://blog.innerewut.de




More information about the freebsd-pf mailing list