I've read this tutorial: http://howto.gumph.org/content/setup-virtual-users-and-directories-in-vs...
My configuration is as follow:
---vsftpd.conf---
listen=YES
anonymous_enable=NO
local_enable=YES
virtual_use_local_privs=YES
write_enable=YES
connect_from_port_20=YES
pam_service_name=vsftpd
guest_enable=YES
user_sub_token=$USER
local_root=/var/www/s
I added a user using useradd
useradd -g upperdevs myuser
But when I do an id check I didn't see the upperdevs group.
id myuser
#uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo)
Probably this was the issue why I can't write to certain_dir, by doing ls -l:
drwxrwxr-x 2 root upperdevs 4096 Sep 8 13:35 certain_dir
Anything I'm doing wrong?
I added a user using useradd
useradd -g upperdevs myuser
But when I do an id check I didn't see the upperdevs group.
id myuser
#uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo)
Probably this was the issue why I can't write to certain_dir, by doing ls -l:
drwxrwxr-x 2 root upperdevs 4096 Sep 8 13:35 certain_dir
Anything I'm doing wrong?
hello,
I have a ubuntu 12.04 (Linux SAMBA 3.2.0-29-generic # 46-Ubuntu SMP Fri Jul 27 5:03:23 p.m. UTC 2012 x86_64 x86_64 x86_64 GNU / Linux).
I installed samba, I have shared common is accessible.
I have added the user "test" in myuser group [usermod -a -G test myuser]. But if try to execute or try to cd to datadir as "test" user gives the Permission denied error. datadir is having the following privilege [770 the user "test" is belongs to myuser group still it gives the Permission denied error].
I setting my ftp server with vsftpd and it not working.
And it still how all folder when i login with user ftp.
I only want user only see his home directory.
This is my file vsftpd.conf
Quote:
userlist_enable=YES
write_enable=YES
session_support=YES
anon_world_readable_only=NO
no_anon_password=YES
chmod_enable=YES
background=YES
chroot_local_user=NO
guest_enable=NO
loc
i pressed M in top command try to get a memory sort for the processes,
5892 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:01 0 java
5893 myuser 15 0 88428 86M 12520 S 0.0 4.2 6:47 0 java
5894 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:00 0 java
5895 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:00 0 java
5896 myuser 15 0 88428 86M 12520 S 0.0
I want to be able to backup and restore my home directory of a remote account.
The command I use are:
Backup
ssh myuser@myuser.server.com "tar jcf - ." > backup.tar.bz2
Restore
cat backup.tar.bz2 | ssh myuser@myuser.server.com "tar jxf - ."
I'd like to be sure that all the files are restored or none, even if the server gets rebooted in the middle of a restore.
Any way to achieve what I
I am trying to make a new VSFTPD user but there apears to be a lack of documentation explaing how to make a new user + pass and assign them to a specific directory.
Does anyone perhaps know a simple way to doing this?
At the moment I just created a new user and this is my vsftpd.conf file
but I get 530 login authenication error
listen=YES
anonymous_enable=NO
local_enable=YES
virtual_use_local_p