I'm using dovecot pop3 server in my website. I tried to create a virtual user system with mysql. But it didn't work. Next I tried to debug my work with reading of dovecot log. I enabled logging in it by changing this values in /etc/dovecot/conf.d/10-logging.conf:
After that I tried to login to the pop3 via telnet and it failed as usual. After I checked the log file (/var/log/dov), but it does not contain any information about that failed login. Only there was some information about starting up of dovecot! Does any body know that what is the problem and why dovecot doesn't log that?
Using THIS I was able to get virtual users working via standard ftp. After wrestling with selinux and such I'm able to log in as a user defined in the virtual-users file.
At the bottom is the vsftpd.conf. I can start the server no problem. I've been making edits to it so I'm not sure what's right/wrong at this point in it. I have a snapshot I keep reverting to where ftp works with virtual users and then I start monkeying with it again.
First problem I have is I'm not exactly sure how to test it. If I use WinSCP, I try SFTP and in the vsftpd.log I see:
I have used for a long time Filezilla FTP Server on a windows server, for multiple users in my company around the country.Lately the windows box died and I said let's try ubuntu server 9.10. I configured to my best as a Samba file server and from a speed point of view it works even faster than the Winbox.Now getting to FTP setup, I had the following problem when setting vsftpd.How can I enable more directories for the user, each with its own rights. By example, in Filezilla I had two folders for each user: one was a specific folder in which he could also write, and the other was read-only. They were setup with aliases, so that when user login, he sees one continous list of folders.I tried with symlink, but couldn't do it. Also I searched through the man page but also did not find something specific for this task I would appreciate any help you guys could give me in order to solve this issue, using the best practice for vsftpd. Also note that I am open to other FTP servers as well.
I just installed Wordpress and i am delighted of it, nice peace of software. Even so I have to get running a FTP or SFTP server on my localhost machine. I did installed in my Ubuntu 10.10 the VSFTPD server and generated a RSA certificate file (vsftpd.pem). Strange it is that there is no vsftpd folder under /etc, instead vsftpd.conf file is directly into /etc ... so I have generated also my .pem file into /etc. Anyway I have a lot of trouble adding new users to access this server. I use Filezilla as SFTP client. Please let me know if you encountered such an issue, and what is the solution for it. Downwards is my vsftpd.conf file.
# Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable.
I'm using Slackware 13.0 on my server and am going to be employing a file-sharing service for a client. I was able to enable a quota, but my problem now is keeping the user inside their home directory. I've searched around and found an old thread on here (from 2003) that gave me some ideas, but it still isn't working. Should I be running vsftpd standalone or leave it on the inetd? If I set the shell to /sbin/nologin or /bin/false, the user can't log in through FTP, even.
chroot_local_user=NO chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list from /etc/passwd:
I started to work on building a ftp by vsftpd in our lab (that's only for our lab members). I am going to setup some the virtual users for each of the member. We have a CentOS5 (without upgrade after the fresh installation). I try several ways to setup the vsftpd for virtual users. 1) with db4 2) with mysql 3) without database and use htpasswd. But all fails. Actually, I don't want to use database, so I am going to find out the reason of failure on 'htpasswd' method
My vsftpd is installed in /etc/vsftpd (for only using ftp account, it is no problem to login).
1) I setup an account called vftpuser and build the corresponding home (/home/vftpuser), and then I setup another account call usera and also create a directory within /home/vftpuser.
2) I use htpasswd to add passwd to usera and store the passwd in /etc/vsftpd/passwd.
3) I added the name of usera to /etc/vsftpd/user_list
4) I create a directory /etc/vsftpd/user to store a unique conf for each user (for usera, the conf named usera) which contains the local root for users, which is
I am attempting to configure vsftpd to allow anonymous users to PUT files into a shared incoming directory. This would be like a dropbox for my customers. Ideally, the incoming directory's contents would not be viewable by the users.
I believe that refused connection is due to the PAM configuration for vsftpd.
May 4 08:03:16 WSVM-S1-1 sshd: Invalid user anonymous from xxx.xxx.xxx.xxx May 4 08:03:16 WSVM-S1-1 sshd: input_userauth_request: invalid user anonymous May 4 08:03:16 WSVM-S1-1 sshd: pam_unix(sshd:auth): check pass; user unknown
I have a Toshiba laptop with a Intel X3100 graphics card and I'm using a second LCD display with it ( it works ok as an extension to my notebook's display ) My question: is it possible to configure the system so that one virtual desktop is my laptop lcd and another the external lcd ? Mine has a native resolution of 1280x800 and the external one 1280x1024 and I'm running Ubuntu 9.10
I'm working on a script. fter it has installed and removed packages, I need to configure a ton of settings. In GNOME, I understand that those settings are kept in "/home/user/.gconf". Can I create a virtual machine and configure the system through the GUI to my liking and then dump all of the settings, so that I can load them on another machine? Is it as simple as copying the directories?
I'm trying to setup and configure a server entirely with text only run mode 3 on a virtual machine so I can redo my current live server. I'm now trying to set up the firewall of the system using iptables. I've read up on it and came up with the following:
-clear all rules #iptables -F -set default policy rules #iptables --policy INPUT DROP #iptables --policy FORWARD DROP
Everything above worked for me but just out of interest I looked at my live server which was configured using a GUI. I ran iptables-save and it was pretty much the same but its port open lines read like this:
#iptables -A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT
so finally my question is do I really need the "-m state --state NEW"? Wouldn't having that drop established connections on those ports? I'm just confused as to what exactly the NEW state is doing and would it make a difference if I didn't include it.
i would like to copy all files from my server001 (/var/www/vhosts/*/httpdocs/) to my server002 (/var/www/virtual/*/htdocs/) i would do it via rsync... but i dont want to do it as root! what would be the right user with which I should login myself via rsync? www-data? its the group of each domain-folder...
server002:/var/www/virtual# ls -lh insgesamt 4,0K drwxrwx--- 10 vu2001 www-data 4,0K 9. Mär 09:58 domain.com server002:/var/www/virtual#
but the files inside htdocs are only accessable for the user!
server002:/var/www/virtual/domain.com/htdocs# ls -lh | grep index.php -rwxr-xr-x 1 vu2001 vu2001 397 24. Feb 23:30 index.php server002:/var/www/virtual/domain.com/htdocs# server002 will be the backup-server if the server001 is down!
I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.
I have a running instance of vsftpd. It works like I want for ftp.thisdomain.com and now I want to have it serve for ftp.thatdomain.com from a diifferent document root at the same time. Just lik I can do with Apache. Is this possible? So browsing to ftp.thisdomain.com will take you do /home/ftp/.And browing to ftp.that domain. com will take you to /home/ftp/thatdomain/
I am running Debian under virtual container. I need to set max size of directory for each of vsftpd virtual users - because they are virtual, I cannot use user quotas. I was wondering, if I could create images with filesystem and mount them, but I cannot access /dev/loop device from container. Is there any other way, how to set max directory size in virtual container
I want to Configure Linux LDAP Server for user authentication when my users want to connect to the internet.Also i don't want the user to get the home directory on server. i configured ldap server and ldap client without PAM & SASL.and now with perl i can search in ldap for my client's username & password in ldap.
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).