Adding Users
and Restarting Samba
At this stage, we are almost done. All is left to do
is add a user and restart Samba. In this example we are going to
add user john and assign him a Linux password and a Samba password
which will be jrambo. Open your terminal window and type in the
following, entering in jrambo as the password.
What this has done is created a Linux user
named john with a Linux and Samba password as jrambo. This should be the same username
and password that you log onto to the Windows pc with. When
you create a new Linux user, it will automatically create a home
share for this person. In this case it will be /home/john
Now Samba has to be
restarted so that all of the changes that we have made will take
effect. Open a terminal window and type in the following
Now if you followed
the instructions throughout this document, Samba should be setup
for file sharing with Windows. If you logon onto Windows with the
username john and password of jrambo, you should see the shares
in your network neighborhood. And if you browse to the music share,
you will find your mp3 files!
|