General :: Setup FTP User But Won't Connect?
Mar 31, 2010
I have a remote virtual server for a few websites, it's running on Fedora Core release 6 (Zod). I want to setup an FTP user so I can have someone do some work for me. He only needs very limited access. I have searched for help and thought I found out what I needed to do, but when I try to test the connection, after the password is sent I get the message "530 Login incorrect", followed by "Critical Error", "Could not connect to server". (I am using FileZilla for my FTP client) Below is what I did to add the user
Code: useradd -d /var/www/vhosts/mywebsite.com/httpdocs/thisisit -s /sbin/nologin myuser
"thisisit" is the name of the directory I want to give access to and "myuser" is the user I am adding. I use passwd myuser to add a password. I've tried -s /dev/null also (to prevent this user having shell access) but it's the same. The worse thing is, I did a similar thing last year for a customer so he could upload images to my site. That login works fine. I have looked at the passwd file and both users seem to be setup the same, yet the new user does not work. What am I overlooking?The two entries in my passwd file are The one that doesn't work
myuser:x:10025:10025::/var/www/vhosts/mywebsite.com/httpdocs/thisisit/:/dev/null And below the use I created lat year that DOES work. mycustomer:x:10008:10008::/home/ftp/mycustomer/:/dev/null
View 1 Replies
ADVERTISEMENT
Mar 31, 2010
when i type in su in the terminal it asks me for a pwd. I type in my user pwd and it denies me. So how do I set myself up as a root user?
View 6 Replies
View Related
Oct 19, 2009
Hello, I'm trying to set up a read only FTP user; basically, they have the ability to browse a particular images folder and download, but not write (or delete accidentally). I've got it set up so the FTP user logs in directly to the folder, so I'm good with that; but they still have write permissions. We have an application built in PHP that copies image uploads to this folder; it also resizes them in the same folder. So in addition to the main FTP user (me) who needs write access to this folder, whatever the Apache/PHP user is (not sure?) also needs write access. Is there a simple way to affect read/write permissions on a user level?
View 4 Replies
View Related
Feb 21, 2011
I have a mercurial repository on a secure server, to which I want to grant secure access to an external user.
I added for him a user account and publickey ssh authentication so that now he could push/pull changesets via ssh.
My question is: how can I make this new user account completely disabled from doing anything or accessing any data on the server other than accessing the repository? E.g. he shouldn't even have the possibility to enter an interactive shell session.
View 1 Replies
View Related
Oct 14, 2010
I have configured dovecot to use separate user and password file. Can I tell endmail to use it too? If not, then does postfix can this?
View 2 Replies
View Related
Jul 15, 2010
i'm using centos 5 and i want to save my setup when switching the user.when i switched user from user1 to user2 and then i logged in user1 back without shutting down, i couldn't see any working window on user1. But since it's working on the CPU, i guess it's working but i cannot just see the window(such as terminal in my case) i was using. i have been using scientific linux which have "save current setup" when logging out. but centos seems not to have that check box!i want to know whether centos can contain the setup for each user when switching user.
View 5 Replies
View Related
Oct 4, 2009
I have a CentOS dedicated server running ProFTP. I have created user accounts which are meant for FTP access only but the users cannot connect to the FTP unless their shell access is /bin/bash
Here is an example line that is outputted when I use this command:
This user can access the FTP fine, but he can also access SSH which I don't want to allow him to do. If I set his shell access to /bin/false then he can't connect to the FTP.
What can I use in instead of /bin/bash to allow FTP but don't allow SSH?
View 3 Replies
View Related
Jan 25, 2011
I'm an Ubuntu lucid user and i have AnyData adu 560d modem.i try to connect to the internet using my modem, but Ubuntu read it as usb tell me how can i using usb mode-switch to solve this problem,in otherworld i know what is the problem but i need the steps to solve this problem .
View 1 Replies
View Related
May 6, 2011
Error: Cannot connect to the database because: INSERT command denied to user 'webuser'@'localhost' for table 'visitor'
[Code]...
View 3 Replies
View Related
Sep 16, 2010
I have a LAMP server running. Currently there are not vhosts, just the basic single site apache2 running a web app. I want to set up ftp access to the www root, but my attempts have failed. When I try to ftp using the user I created, I get dumped in the users home directory. I can also browse the entire file system. What I can't do is upload content to the www root. I get permission errors. How can I set ftp up to allow a user to access the www root only?
View 9 Replies
View Related
Aug 7, 2010
Not sure if this is the right forum for this but.....
I have set up ssh on one of my comps but cannot connect using ssh.
I can ssh and I can vnc but can't vnc through ssh.
Its late and driving me mad.
At the moment I am using the standard ports until I can connect.
View 9 Replies
View Related
Sep 5, 2010
i need to set up a vpn to connect to my house from wherever i am with my laptop. whats the best way to do this?
View 4 Replies
View Related
Jan 31, 2010
I just installed Gutsy server. It is the only disk I can get to boot on this old PC trying to salvage. I'm at the "SERVER LOGIN" prompt. I created one user during the install. I can login as that user, but that user has "...Is not in the SudoersFile." How do I setup this user to be in the sudoers file, without having any ability to make changes to the system?
View 5 Replies
View Related
Nov 17, 2010
I would like to set up a user account with no network access. Reason is that sometimes my little daughter plays with the computer (for example watching movies on dvd's) and I want to prevent internet access in case she plays unattended. Is there a simple way to do that? I am using ubuntu 10.04.
View 4 Replies
View Related
Apr 3, 2011
Im writing up a script to set up ufw with ssh on a user defined port. I have 2 minor issues, 1, this script can only run once, from the defualt configuration files. if the config files are previously modified, this script will fail. So how can i fix it so that the line specifying port in the ssh_config file can be read and rewriten to numerous times.
I have alot of echo type commands. how can I neaten that up?
Code:
#If these aren't installed, install them now with:
#sudo apt-get install openssh-server denyhosts ufw
#This script is to help you set up decent security
#on your Linux computers. Run this script as root.
[Code]....
View 2 Replies
View Related
Sep 1, 2010
Apache/2.2.3
CentOS release 5.4 (Final)
BackupPC-3.1.0-6.el5
So im setting up backuppc but do not want Apache to run as the backuppc user. To get round this I need to setup suEXEC so that CGI scripts are ran as the backuppc user. This seems fine and I do have the module loaded,
1. I have configured my config files as said here
2. I have read that DOC_ROOT for suEXEC is set to /var/www I need to change this to /home/www - as a quick fix i have a symbolic link from /var/www to /home/www.
3. To confirm what DOC_ROOT is and check where the log file will be as suggested on many sites I run "/usr/sbin/suexec -V" but I get nothing back, it does not list any config.
4. Group and Owner for "/usr/share/BackupPC" is backuppc
[Code]...
View 1 Replies
View Related
Dec 16, 2008
In RHEL5, the PATH of root is /sbin and /usr/sbin...., the PATH of common user has not /sbin or /usr/sbin, how to give the /sbin and /usr/sbin to a common user when he run command which sudo?
View 3 Replies
View Related
Feb 17, 2010
how would i set up my Fedora 12 box to connect to the internet using Android SDK's adb forward tcp:8080 tcp:8080 while my phone is pluged in via USB? I'm able to set it up for Firefox. But how do i set it so i can access the repos? i'm using my phone for an internet connection(not WIFI)the app is called proxoid
View 1 Replies
View Related
Aug 27, 2010
I am trying to setup Samba to connect to my NAS drive, so far I have it connecting but normal users only have read only access, this is what I have done so far
Code:
mkdir /media/Data
Fstab
Code:
//192.168.2.150/Data/media/Datasmbfsusername=username,password=password00
I know putting the username and password in the fstab is not the best, but to start with I am trying to get everything working.
what I need to do to give my normal users write access to the share?
View 2 Replies
View Related
Jul 17, 2011
following mjmwired instructions, I manually setup the sudo but I keep getting a parse error whenever sudo command is run. How do I fix this issue?I login as su -, then setup sudo using "echo 'myusername ALL=(ALL) ALL' >> /etc/sudoers". All appears OK. I exit su, and go back to myusername.
View 2 Replies
View Related
May 4, 2010
I am attempting to setup the following:
1.User login/authentication via a single NIS server.
2. User home directory should also be on the Same NIS server.
3. If possible to setup a single shared home directory for all users.
OpenSuse version 11.2 There are twelve workstations from which users will login using the NIS authentication. I have succeeded in setting up NI server. However login fails as the home directory is not accessible.
View 9 Replies
View Related
Oct 24, 2010
I have setup the fetchmail as below:
Code:
poll domain.com
proto pop3
via domain.com
user "user@domain.com"
pass "123456789"
is user@domain.com
keep
no fetchall
When I try to login it gives the following message:
Code:
fetchmail: 6.3.8 querying domain.com (protocol POP3) at Sun 24 Oct 2010 10:51:52 AM EEST: poll started
Trying to connect to domain.com/110...connected .....
fetchmail: domain.com: upgrade to TLS succeeded.
fetchmail: POP3> USER user@domain.com
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< -ERR Authentication failed.
fetchmail: Authentication failed.
fetchmail: Authorization failure on user@domain.com@domain.com
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Logging out
Although I'm able to login to the webmail of my domain.com cpanel with the same username and password, please note also that it some time working smoothly and most time it gives login authentication failure:
View 3 Replies
View Related
Jun 26, 2011
I have a 2G Broadband service through my Ethernet cable. My provider in China has a user name and password to login to their service. I don?t have a modem or anything but the wire coming in from the outside. It is setup in windows but I can?t figure out how to do it in Ubuntu 11.04.
View 1 Replies
View Related
Jun 4, 2010
I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.
This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....
View 2 Replies
View Related
Apr 12, 2011
I am a (somewhat) newbie to Linux (but have an extensive Windows background), and I have just installed Debian Squeeze in an old EeePc 701 4G using the netinst version only with the following packages:
eeepc-acpi-scripts
x-window-manager
gnome-session
gdm
gnome-themes
gnome-themes-extra
plymouth
bridge-utils
Now I would like to install Debian in my main laptop, but I think it won't be able to connect to any wireless networks during setup and before installing firmware-brcm80211 and wireless-tools (its wireless card is a Broadcom 43224AG). That being, and to avoid connecting the computer directly to the router (it is not easy), I would like to bridge the EeePc's wireless connection to my laptop using a cable. I tried using the instructions found at the Debian Wiki, but I couldn't set it up properly.
View 1 Replies
View Related
Mar 21, 2010
I'm using Ubuntu 9.04 x86_64 and trying to setup SSH to connect to my machine externally. The open ssh server is already installed and I can using ssh localhost. Moreover, I also forward port 22 to my machine and check using [URL] Everything seem to be ok, but when I trying to connect using ssh -vvv <ip-address> I receive the following common error:
[Code],,,,
View 4 Replies
View Related
Nov 21, 2008
I have a fresh install of ubuntu. I am trying to load some new packages but I think I need internet connection. The issue is I cannot connect to the internet I think I need to setup a network package so I can connect to the internet? This is the first time I have used linux.
View 3 Replies
View Related
Nov 22, 2010
I have setup SFTP and it is running without any problems. The problem I have is finding a client that supports key based logins through Linux. I do not want user based logins available and so far the solution works through my Windows machines using WinSCP. The only client I have found for Linux seems to be FileZilla but I have to convert my private key to the FileZilla format which removes the passphrase leaving it nice and insecure.
View 4 Replies
View Related
Jun 20, 2010
I am trying to set up my Ubuntu 10.04 netbook to see my WinXP desktop's files and vice a versa. I followed the steps in this tutorial thread: HOWTO: Setup Samba peer-to-peer with Windows. I got as far as "Time to add yourself as an samba user." at this point I keep getting the following error:
Code:
sudo smbpasswd -L -a WinXP_User_Name
New SMB password:
Retype new SMB password:
Failed to add entry for user WinXP_User_Name.
My WinXP machine has no password.
My conf file is here:
[global]
; General server settings
; netbios name = WinXP_Computer_Name
server string =
; workgroup = WinXP_WorkStation_Name
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user .....
View 9 Replies
View Related
Jan 31, 2011
I configured my server to have the virtual mail authenticated and stored through mysql DB.Now the authentication works, but then I got the dreaded -ERR chdir error.After research and testing for ohurs I finally got it working on ONE account after I created the maildir with maildirmake.Now I am able to login and "list" messages, but nothing else. When I use postfixadmin to setup a new user, the maildir does not get created so I have the same problem.I'm trying to troubleshoot what is happening.Here are the relevant config files:
/etc/postfix/main.cf
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no[code].....
View 3 Replies
View Related