![]() ![]() Gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin List:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin Uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin News:x:9:9:news:/var/spool/news:/usr/sbin/nologin Mail:x:8:8:mail:/var/mail:/usr/sbin/nologin ![]() Lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin Man:x:6:12:man:/var/cache/man:/usr/sbin/nologin Games:x:5:60:games:/usr/games:/usr/sbin/nologin cat /etc/passwdĭaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin Why can't I just assign "michal" user and "michal" group, which already existed before, in my smb.conf file. To say the truth I don't understand why a separate user/group needs to be created for Samba service. # Note that "guest ok = yes" is a synonym for "public = yes" Panic action = /usr/share/samba/panic-action %d Server string = %h movies server (Samba, Ubuntu) This is how my smb.conf file looks like: sshĭrwxrwxr-x 5 michal michal 4.0K Nov 8 21:52. ĭrwxrwxr-x 63 michal michal 4.0K Nov 8 22:22 100DaysOfCodeĭrwxrwxr- 12 michal michal 4.0K Nov 12 00:33 moviesĭrwxrwxr- 2 michal michal 4.0K May 31 12:55 photosĭrwxrwxr-x 2 michal michal 4.0K Jun 26 22:39. ls -lah /home/michal/ | grep "^d"ĭrwxr-xr-x 10 michal michal 4.0K Nov 12 21:35. I did that to save some changing on permissions, directory owner and directory group. ![]() Therefore instead of putting user:smbuser and group:smbgroup in my smb.conf I used the username I currently use to login into my Ubuntu VPS, which is: michal. I did most of the things the same as shown on the video, but I want to create a Samba share inside my Linux home folder: /home/michal/movies/. I've already created a Samba share based on this video: So it's easy for them to play these videos and watch these photos on their local computers. I'd like this files be available read only to some 20 people - friends and family without authentication. I want to create a Samba share on this VPS, where I'll put some videos from holiday and some pictures. I have a VPS on Linode with Samba installed on it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |