rete:gestire_utenti_samba_per_un_dominio_windows
Indice
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 <utente>
assegnare una password all'utente Unix:
passwd <utente>
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 <utente>
Modificare la password di un' utente in samba
smbpasswd <utente>
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
rete/gestire_utenti_samba_per_un_dominio_windows.txt · Ultima modifica: 08/05/2025 10:02 da 127.0.0.1