Score:0

Private Shared Folder

at flag

Good day, I have a question regarding my private shared folder.

I add already a user called 'private' something like this:

lhon@lhon-server:~$ sudo adduser private
Adding user `private' ...
Adding new group `private' (1006) ...
Adding new user `private' (1004) with group `private' ...
Creating home directory `/home/private' ...
Copying files from `/etc/skel' ...
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: password updated successfully
Changing the user information for private
Enter the new value, or press ENTER for the default
        Full Name []: Lhon Private
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] Y

after I've created user and folder using

sudo mkdir /home/private/personal
[LhonPersonal]
comment = Contents are private.
path = /home/private/personal
read only = no
guest ok = no
create mask = 0666
force user = private
force group = private
force create mode = 0666
directory mask = 0777
force directory mode = 0777

when I browse into my windows network I put 'private' on the username and my password but the folder still not accessible? thanks

mpboden avatar
do flag
Did you add user as a Samba user?
Lupong Gathana avatar
at flag
thanks I use this ``` sudo smbpasswd -a <username> ``` works fine. thanks so much
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.