11 Jan
2008
11 Jan
'08
6:48 a.m.
On Wed, 2008-01-02 at 12:28 +0200, Evaggelos Balaskas wrote:
I use the allow_nets password extra field [0] for my users. Is there a way to use this functionality for ALL users, and not to edit my passwd-file every time a new user is added ?
Unfortunately not.
The alternative i am working for this is the TCP Wrappers.
There are two existing patches for that, but you'll either need to disable chrooting or put the tcpwrapper files inside the chroot (and probably change base_dir to be outside /var/run/ so it doesn't get deleted at boot).