Samba: accessing M$ Windowz file systems and printers from Linux

Starting and stopping Samba

/etc/rc.d/init.d/smb start  start Samba
/etc/rc.d/init.d/smb stop   stop Samba

Testing the Samba configuration

  testparm

Will print samba configuration information

Creating a Samba user

As root:

useradd -c "Samba User (no login)" -s /bin/false sambauser

Start Samba (see above). Now add the samba password (again, as root)

smbpasswd -a sambauser

You will be promted for a password.

See Also:

Ian Kaplan
Date: July 18, 2004

back to Linux Notes