Autore: Santo Patti, Fabio Di Matteo
Ultima revisione: 03/11/2009
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>
smbpasswd <utente>
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