====== Gestire utenti samba per un dominio Windows ====== Autore: **//Santo Patti, Fabio Di Matteo //** \\ Ultima revisione: **//03/11/2009//** \\ \\ ===== Creazione dell'utente ===== Per prima cosa e' necessario creare l'utente Unix con: adduser assegnare una password all'utente Unix: passwd **per ragioni di sicurezza e' opportuno disabilitare la shell dell'utente ** ovvero editando il file **/etc/passwd** e cambiando ''/bin/bash'' (o altra shell ) con ''/bin/false'' ... fabio:x:1000:1000:Fabio DM,,,:/home/fabio:/bin/false ... creare l'utente samba: smbpasswd -a ===== Modificare la password di un' utente in samba ===== smbpasswd ===== Manpage smbpasswd ===== When run by root: smbpasswd [options] [username] otherwise: smbpasswd [options] options: -L local mode (must be first option) -h print this usage message -s use stdin for password prompt -c smb.conf file Use the given path to the smb.conf file -D LEVEL debug level -r MACHINE remote machine -U USER remote username extra options when run by root or in local mode: -a add user -d disable user -e enable user -i interdomain trust account -m machine trust account -n set no password -w PASSWORD ldap admin password -x delete user -R ORDER name resolve order