Ubuntu Servers :: Rsync To Username / Password FTP Server
Jul 26, 2011
Im reading a lot on how to rync to an ftp server but none of the steps are telling me how to do it on servers that use normal authentication.Example I want to keep /var/www in sync with a folder on an ftp server in a folder called /cdn/.Id like to see all files and folders in sync, not just a compressed file etc
I recently installed vsftpd on my server. I noticed that users on the machine can login into vsftpd with their username and password on the machine and go to their root dir "/home/username".Now, I want to give some people a vsftpd username and password so they can upload and download files and folders to their folder, but this folder has to be in the "/var/www/(username)" folder. I don't want them to be able to go to any other folder than their own folder like "/var", "/etc" or "/home" etc. Also I don't want them to be able to login on the machine as a user, through putty for example. They should only be allowed to acces their folder with vsftpd, nothing else.
I need to host a user directory and home directors on a Ubuntu 10.04 box. I've installed openLDAP and I can connect a mac to it. how to install the mac schema or add users etc to it. I can view the directory in Workgroup Manager on Mac OS X Server but I also dont know how to set the admin username or password.
I have tomcat 5.x installed and is running on port 80(with mod_jk setup). The directories 'manager', 'examples' and 'ROOT' were removed under /usr/share/tomcat/webapps/ and rebuilt them copying from a working tomcat server. When I acces [URL] (or) [URL], it keeps on prompting for the password even after enter correct username and password.
When I try to connect to my ubuntu server with my mac, I always get "You have entered an incorrect username or password, please try again". The same problem occured when I tried to connect to another mac server at my school. Is this a mac wide problem? Anyone else experienced this problem?
Is it possible to somehow setup an ssh server that doesn't require a username,password or cert to login?I wish to provide shell access to a console program, which will prompt for a username and password.Encryption is essential though, and users must not be able to snoop in on each other
There was a recent thread in this forum regarding capturing of SSH passwords via the use of wireshark. The thread subject was closed, which is a decision that I both agree with as well as agree with the reasoning behind. The thread, however, raised a point of curiosity and concern that I would like to ask about. Quoting from a the book, SSH, The definitive guide,
The client authenticates you to the remote computer's SSH server using an encrypted connection, meaning that your username and password are encrypted before they leave the local machine. The SSH server then logs you in, and your entire login session is encrypted as it travels between client and server. Because the encryption is transparent, you won't notice any differences between telnet and the telnet-like SSH client.
I was under the impression that SSH was impervious to this type of eavesdropping, and quite frankly I take great comfort in that idea. I personally, only allow RSA keys for SSH access and (hopefully) avoid this problem (?) as a result. Does SSH really have a vulnerability in that the authentication is sent via plain text? How to ensure the security of SSH and not on anything that could be considered a how to 'crack' it.
I'd like to manually mount my nfs share mount -t nfs ipaddress:/nfsshare /mnt/nfsfolder but would like to include a userid and password option via command (not via fstab), since the nfs share has different credentials than the server where I'm mounting to. What's the proper switch to include in this line?
i installed acronis on the server end , the problem is that i have disabled the graphical interface on the server i have a acronis management console on a windows system where the image is being created when i try to connect to the linux server it prompts for username and password after i give the credentials then i get this error
I bought a firefox extension which support proxy with username and password, but seems only http version and not socks 5 server which I already have installed on server. I know for privoxy, but privoxy don't support username/password. Is there anything else what works with username/password? Also what is different between http and socks5?
I started a new job and they use LDAP here. I built a new RHEL 5.5 server and configured LDAP. Usernames are recognized but the password is not. I can chown a file to a user name but when I try to login as the user it won't accept the password.I know the password is correct because I can login to any of the old boxes and it accepts the password. I ran authconfig-tui to tell my RHEL box to authenticate to ldap.
The homes is suppose to let each user see his/her own home directory. But I tested at the windows side, I found that windows doesn't even prompt me about username or password, it just directly give me "not accessible" error. How do I config so my windows side at least prompt me about username/password?
I wish to download a webpage, which is secured by username and password, using WGET. The thing is there are many forms on that page and I dont know how to tell WGET which one should it send (by POST method) the parameters. I have solved it till this so far: wget --post-data="predmet=xxx" --http-user="yyy" --http-password="zzz" [URL] It gets through the authentication but it will not submit the form.
i am trying to write a telnet server without username/password function. how to implement such function? the source code from inetutils seems complicated..
I have set it up, but I'm not sure whether the admin username and password are set correctly. How do I confirm? Also, if someone has any links explaining the format of an LDIF file.
Ok I am new to all this, I did have a server years ago but have forgotten most of what I learned. My problem is getting ftp to connect to the server. I have centos and it has proftpd but I'm lost when it comes to the conf file. I created a user in plesk but when I try to connect with any ftp software it accepts the username but rejects any password. I have tried a million combinations but I just can't get my head around this. I have used it before many years ago and managed ok but that was using webmin. I feel I've bitten off more than I can chew with this server although I have managed everything else
Iam using centos5.i had installed qmail as MTA.when iam login through squirrel mail it gives login error invalid username or password.And then i tried with domain.
I installed Apache Tomcat6,every thing is running fine but facing problem in Tomcat administration webapps:- in manager webapp [URL] in this i am using username=manager password=s3cret but not it is not authenticating with these credentials in host-manager webapp [URL] in this,i am using username=admin password=s3cret but it is also not authenticating with these credentials i edited file /etc/tomcat6/tomcat-users.xml
I have a problem regarding the ubuntu enterprise cloud. I have installed CC,CLC,SC,NC and a client and logged into thje user interface using my browser for the first time with bith username and passwd as admin and downloaded the credentials.But now as I try to login with the same username and passwd, it says that its an invalid login. I understand we have to change the password on the first login but i don't remember doing the same.
I tried recover password option and gave the user name as admin and email address as my gmail id. It says that I have to follow the instructions sent to the mail, but there is no mail sent I have done it like 5 or 6 times with different mail ids
I currently have to connect to my new samba fileserver using servernameusername instead of just username, if that makes sense(!) I need this to be simplified, as I've had it before on a previous machine, as one of the devices I connect with has a virtual keyboard without a backslash!
Thought I'd post it here because it's more server related than desktop... I have a script that does:
[Code]....
This is used to sync my local development snapshot with the live web server. There has to be a more compact way of doing this? Can I combine some of the rsyncs? Can I make the rsync set or keep the user and group affiliations? Can I exclude .* yet include .htaccess?
I have two servers. #1 is the main server and #2 is only used in case the first one is down. Both of them are in the same LAN. Both are debian Lenny configured the same way. For instance, if #1 has a problem, I simply disconnect it, set #1's IPs to #2 and I have my system ready. The only matter here is that there are plenty of files that need to be syncronized between #1 and #2. I thought that rsync was the answer to this problem I have.
I wanted to create a bash script that runs every day (with cron) and syncs the files I need (.conf, and other data). I used ssh-keygen to generate a pair of keys in order to login SSH without a password. The problem is that the permitRootLogin is set to yes in my sshd_config in both servers. So I can't log in directly as root by ssh. But I need to log in as root to be able to rsync the files between the servers because some of them are .conf files and aren't accesible for non-privilege users (Only root).
I've 15 web servers (in private network) running RHEL, Apache. Needs to sync web files between them. each server is accessible to each other via public key (with passphares).
1) Main server is web1 (where dev upload files initially). So I can make all other servers accessible by web1 without password/passphares and run rsync periodically to update files between them. But security is an issue here as all servers will become easily accessible.
2) Run rsync daemon in all other servers (except web1) on designated port and run rsync command from web1 to sync files. This will do the work but running daemon in all servers might increase overhead and making sure that daemon is running all the time etc. are my concern for this implementation.
brand new 2 Ubantu & set up standard Ubantu compartment accessed via 1 user name only and password. 1st few times all good but now suddenly, unexpectedly password declared invalid. Had written down password so it is correct & not entry error. Not know how to reset password or bypass 'username/password log on screen' Am on an Acer 5542G with windows 7 home premium.
i have an ubuntu server 4 windows client..i use putty or webmin. would like to copy some folders for example: "My houses"to be backup everynigth to the ubuntu server..can somebody give me an easy way for doing this with rsync and smb or cifs.
I'm new to networks and servers, been using Linux on the desktop for a while now but always relied on the company's IT guy for setting up everyting LAN-based.
Now I want to build up my home LAN, and want to do it with Linux. I've managed to set up LAMP and file share servers.
What I am looking for is information on what I need, and how to set up a server for the following tasks:Centralized Username and Password, that when the user logs into any one of the desktops in the LAN, it uses this for authentication
Something that allows this authentication to be utilized in other servers (file access, web access, router logging, etc.). Something to make it easier for continuing permissions from one service to another. e.g. I have IPCop filtering content, and it has provisions for tracking who is making which request if there is authentication going on. (optionally) to run a script for mounting Samba shares or mapped network drives so from one system to the next. For example, in whatever box somebody logs in, it mounts a server share ("smb://Myserver/users/<username>") to a local folder ("my_user_share").
So;user "fred" ="smb://Myserver/users/fred" and user "wilma" = "smb://Myserver/users/wilma" but both would find their respective one mounted under "~/my_user_share". This would be irrespective of which box they are loggin in with. If the server share location changes (new server/servername), I change it on the server so the next time they log in it points to the right place.
I guess it is similar to Window's Active Directory, though I'm not sure what it's called, how to configure it and what it is and is not capable of doing.
Consider this stanza for a directory on my Apache server:
<Directory "/var/www/html/mine/wedding"> Options FollowSymLinks Order allow,deny Allow from all AuthType Basic AuthUserFile "/etc/httpd/htpasswd_file" Require user username </Directory>