samba user kitilt ás

BERES Laszlo beres.laszlo at sys-admin.hu
2007. Feb. 20., K, 11:10:45 CET


Folberth László wrote:

> Hát igen, az egyik megoldás :) A másik, hogy kiveszem a /home/users
> könyvtárból aki nem kell. De úgy néz ki IP alapján (iptables) meg egy
> szkript segítségével meg tudom csinálni.

Esetleg:

smbpasswd -d

This option specifies  that the username following should be disabled in
the local smbpasswd file. This is done by writing a ’D’ flag into the
account control space in the smbpasswd file. Once this is done all at-
tempts to authenticate via SMB using this username will fail.

-- 
BÉRES László	 RHCE, RHCX
senior IT engineer, trainer


További információk a(z) Techinfo levelezőlistáról