I have /home/user1 and /home/user2. I changed all of /home/user1 to 775 and 644 using chmod and chown'ing everything to user1:user2. How can I make it so anything user2 adds to /home/user1 is either 1. automatically user1:user2 or 2.
I want to set specific useraccess for my ftp running on an Debian 7.
At first, let me explain everything:
For a higher security I want to disable any logins (in the console and ftp) for root, but then I need a new ftp user to access all files on my server.
Right now I have three different users and for each one a separated group and directory:
Hey guys,i got an issue with additional users, ssh and sftp following these instructions .Problem:I've two relevent users (user1, user2) on my system, like here:# cat /etc/passwd
user2:x:1001:1001::/home/user2:/usr/bin/falseEverything is working well for user1. Getting a connection by using ssh or sftp works well for user1.
I'm trying to set ACL rules on a file, but i can never make it to work.
Here is the steps i follow:
1- mount -o remount,acl /
2- login as user "user1".
3- touch /home/user1/test.txt
4- chmod 700 /home/user1/test.txt
5- setfacl -m u:user2:rw /home/user1/test.txt
6- su user2
7- cat /home/user1/test.txt
cat: /home/user1/test.txt: Permission denied
I have problem with Authorization in httpd.
when I connect to http:/user1
the login screen pop up and user1,user2 can login and show the user1's data.
how can I create a rule that user1 can only browse user1 folder, and other users can only login to their own folder ?
I installed vsftpd-2.2.2-12.el6_5.1.x86_64 on Centos 6.4 64 bit, my users use FTP over TLS to access to FTP server. I have 2 users:
Now, after user1 login to ftp server, he stands at /home , he can see 2 directory : user1 and user2 , he can only access to "user1" directory, cannot access to "user2" directory.