Professional Documents
Culture Documents
Samba Service in Sun Solaris
Samba Service in Sun Solaris
#passwd alice
Enter password:
Re-enter:
#passwd nice
Enter password:
Re-enter:
#/opt/samba/bin/smbpasswd alice
New smbpasswd:
Retype:
#/opt/samba/bin/smbpasswd nice
New smbpasswd:
Retype:
#mkdir /tmp/pub
#cd /tmp/pub
(create some files in this directory)
#mkdir /tmp/access
#cd /tmp/access
(create some files in this directory)
#mkdir /tmp/group
#cd /tmp/group
(create some files in this directory)
#groupadd dba
#chgrp dba /tmp/group (this command brings the /tmp/group directory under dba group)
#chmod 770 /tmp/group
#usermod –g dba alice (initially this user was in staff group whose group id is 10)
#usermod –g dba nice (initially this user was also in staff group)
To see the status of samba server being at the server side,execute the following command
#/opt/samba/bin/smbclient -L localhost -N
To see the status of samba server from the client side,execute the following command,