hello,i want to create multi users for login in samba ! example user "one" is rw ,user "two" is r,user "three" is rwx.a was already create 2 user with difrent permission but not with 3 user,please help!
- I have samba server and ldap server both on different machine. I want to authenticate all the ldap user on samba share to giving access permission for user's on share. I have refer too many document for that but I am unable to access share with ldap user's username and password. I have referred below link
https://wiki.samba.org/index.php/Samba_&_LDAP
http://www.unixmen.com/setup-samba-d...-ubuntu-13-04/
How to troubleshoot for user authentication on samba share?
I have created a new user with "useradd" than changed the password with "passwd" (logged in as an administrator). After that I tried to login as the new user but couldn't. Error message was: "call to lnusertemp failed (temporary directories full?). Check your installation".
I currently use Debian 8.
I checked the home directory and couldn't find a new created folder for the new user (wasn't supposed to be done automatically by useradd?) and I checked the etc/password and there was the new user name inside it though.
What should I do? I really need to have more than one user on this computer...
hi experts
I am rsyncing a user's home dir across the NFS and the local PC, but when it tries to copy over the hidden files it fails with permission denied. Both dir are owned by the proper user and I am root when I execute the script, so I am not sure what went wrong here.
For example: this is the content and permissions of the source:
-rw------- 1 user test 115 Nov 14 11:28 .bash_history
and here is my error:
rsync: send_files failed to open "/home/user/.bash_history": Permission denied (13)
Thanks
I'm not sure if this should be in the newbie section, but I am somewhat of a newbie, so here goes:
In a home network, I have an Xubuntu file server with a Samba share that has me as the owner and authorizes me to access the share.
On another computer, I have Mint running and providing various services, including webdav on Apache with SSL. In the var/www/webdav directory of the Mint computer, I have the Xubuntu Samba share mounted. This is supposed to allow me to access the Samba share from the public internet.
Everything works fine except for one big problem: Apache requires the owner of the webdav directory to be user "www-data," and I can't figure out how to give www-data access to the Samba share, since www-data is not a user on the Xubuntu computer, and moreover I don't know the password for user www-data.
Can anyone figure out how to get around this problem? In particular, is there a way to configure the Samba share on the Xubuntu computer so that user www-data on the Mint computer can have access to it?
(Incidentally, I have my reasons for using two computers, one as a file server and one as a web server. Also, I am thinking about switching to NFS instead of Samba, but I'm not sure if even that would solve my problem.)
Hey guys, I got samba working and I am able to access my files, however I am now trying to learn security with it. i am pretty much trying to allow certain groups access certain files. if you look at samba group you can see that I have @sambausers group to access sambagroup directory.
I have a user called sambatest01. the user can access "samba users only" but the user can access all of the other files as well. what is a correct set up on the other smb.conf to prevent users from accessing this? I cant seem to find a proper set up
[drivers]
path = /files/drivers
browseable = yes
read only = no
guest ok = no
guest only = no
[samba users only]
path = /files/sambagroup
browseable = yes
read only = no
guest ok = no
guest only = no
write list = @sambausers
valid users = @sambausers
user="john bob randy susan"
I extracted local user list as: cat /etc/passwd | cut -d ":" -f1
Now I need to write a script to find the difference in user between these two (users defined as above and local user). I tried many ways its not working. Any help
#!/bin/bash
users="john bob randy susan"
luser=`/bin/cat /etc/passwd | cut -d ":" -f1`
......
....
Thank you
I am new with linux system somehow my regular user mode changed and its became "-bash-4.1$ " also "how to switch root to regular user"? Thanks advance.
Hello,
I just configured proftpd and it's working fine, but i had a doubt "How to create a new user list" and also how to create a new login form by that clients can create their own account without the knowledge of admin, and the information about the user need to store in server. Anyone tried the above scenario? If yes please let me know how!
Hello There
I have an issue in file permission,I have configured an samba share drive,
created user and then shared it with other network computer(WINDOWS 7)
whenever an user creates an folder or file (like Excel) it shows up in read only mode..
I have ran the command :- chmod -R 777 <sharedFolder>
still when the users create a new folder, other cannot edit or modify the file
need help
Hello,
In debian I created a new user "myUser".
In /home/myUser/.profile
I added "mysql -u user -password"
So automatically after login to linux terminal the user is logged in mysql command line.
What I need to do is to exit terminal after user exit mysql, so he want have access to comand line.