sudo passwd and samba question
I was setting up my home samba server and I was trying to change my user password. Since my server is also open to the internet (www and ssh) I wanted to make sure to set a very strong password right away.
I am not sure if this is a problem, but when trying to change the password I typed sudo passwd and changed the password. Then I tried to log on it still only accepted the old password. I realized I should have just typed passwd. So I would like to know if I should do anything to fix the password I changed when I entered sudo passwd.
Also in my smb.conf I have the following. This protects the samba server from the internet, correct? It is set to allow write access to all without login (security = share).
Code:
interfaces = lo eth0
bind interfaces only = true
Re: sudo passwd and samba question
Found the answer to my first question:
https://help.ubuntu.com/community/RootSudo#root_account
Code:
sudo passwd -dl root
Still wondering if my samba is safe.