sh.
5. Add an SMB password for the user as follows:
# smbpasswd chuckp
New SMB password: **********
Retype new SMB password: **********
6. Repeat this step for each user. Later, each user can log in to Linux and rerun the passwd
and smbpasswd commands to set private passwords.
In the most recent version of Samba, options are available in the smb.conf file that
cause SMB and Linux passwords to be synchronized automatically. See descriptions of the
passwd program, passwd chat, and UNIX password sync options in the SWAT section of this chapter.
Starting the Samba Service
When you have your Samba configuration the way you would like it, restart the Samba server as
described earlier in the ???Getting and Installing Samba??? section. You can now check SMB clients on
the network to see if they can access your Samba server.
Testing Your Samba Permissions
You can run several commands from a shell to work with Samba. One is the testparm command,
which you can use to check the access permissions you have set up. It lists global parameters that
are set, along with any shared directories or printers.
NOTE
741
Running a File Server 27
Checking the Status of Shared Directories
The smbstatus command enables you to view who is currently using Samba shared resources
offered from your Linux system.
Pages:
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355