Server :: Cannot Login To FTP (proftpd) With A Single User On Debian Squeeze?
Jul 19, 2011
So I've been trying to get a single user to login to an FTP site I've created using proftpd and I haven't had much luck. So check this out: this only applies to one user, I can "su" to the user account so I know the password is set, and I am even able to SSH into the box as this user. This totally eliminates a bad/incorrect password and the server IS accepting connections on port 21 because I can FTP as other users. I've ruled out the client because I tried locally and using a command promptWinders but still no luck. This is what I'm seeing in the logs when I attempt to connect using an FTP client.
::ffff:192.168.1.118 UNKNOWN proftpd [18/Jul/2011:15:57:44 -0700] "USER crownftp" 331 -
Jul 18 15:57:44 ctserver-2 proftpd: pam_unix(proftpd:session): session opened for user crownftp by (uid=0)
I cant figure out why my server running fc14 keeps saying login incorrect 530. I am using gproftpd. I know that the login is correct though. For instance: Lets say my user is "goober" and my pass is "fedora" and I go and type that in when I try and login to the ftp it says login incorrect.
So, I wanted a master ftp user that could access all the folders for all the users. I did this by creating a second root user. I'm aware of all the security considerations, and if there's a better way to do this than creating a root user I'd really like to know it. That said, my issue is that my new root user is still unable in FTP to access folders owned by other users that aren't world readable. Note that this is ONLY when logging in via ftp. If I login through SSH I can access all folders without problem and without the need to sudo. So this is a true root user. Does anyone have an idea how I can fix the proftpd configuration to allow my root user access to ALL folders no matter the owner?
I'm running debian lenny. Suddenly when I rebooted my system I was unable to login. I type root and the password and it tells me the login is incorrect.If I boot into single user mode, it accepts the password just fine. Looking in the /etc/shadow file, it appears to be fine as well.Running passwd to set a new password sets a new password just fine, i can login to single user mode with the new password, however, I cannot login at a higher runlevel with the password.
If I delete a password in the /etc/shadow file, then try to login as that user, it simply says "Login Incorrect" without even asking for a password.
I am pretty new to Linux and I want to start a ftp server with proftpd. Well sofar I have made one but there is one problem when I login with windows, the computer don't ask for a username and password. Instead he just show some folders from my home directory.
I have used the standard proftpd config file, and tried to change some things with online tutorials but non of them worked with windows (only for linux ftp connections). Can some of you refer me to a good tutorial for a multi user ftp linux server or explane me what to do?
I am running redhat ES 5 on a dell server and recently, I ran into a snag where I was able to reduce a partition (ext3) but could not run resize2fs (mismatch between physical and logical blocks (i never found a solution to this). In any case I decided to log in a single user mode (appended 'single' at the GRUB loader prompt) and now I am always taken to this single user mode every single time I reboot and can't seem to get out of it. I have tried init 5 (runlevel that the system is set to boot into by default) but that does nothing (no message on the # prompt).Of course, I have 2 problems here:
1) partition issue 2) cannot log out of single user mode.
I have a file server on my network. It is accessed mainly by linux machines throught NFS, but sometimes I need to access it from windows, and I managed to get Samba up and running with only one share with no password, which is what I want.My users have their "private" folders which are just chmodded 700, and under NFS it works fine, but on samba I get, of course, access denied.How can I configure samba so that it asks a password to access those directory? They can become separate shares, and have their own username and passwords (not the ones in /etc/passwd in the server), I don't care.
I have successfully installed Debian on a Sparc Ultra5, 270MHz SparcIIi CPU, 384MB RAM, 40GB HD. However, once Debian tries to load Gnome (right before the login screen) the screen goes blank, and so the machine becomes unusable. I booted of the NetInstall CD, into rescue mode, and executed a shell, but apparently there is currently a problem when running nano from a live CD, so I can not edit the xorg.conf file when I boot the live CD. So, I would like to just boot the install into single user mode, but I dont know how. Currently, when the Ultra5 is powered on, it tries to boot with command "boot", so I hit "Stop A". From there I type "boot Disk1" to boot Debian normally. To boot from a CD, I would type "boot cdrom" So any idea on how I can boot from Disk1 in Single User Mode?
My only other idea is to hook up another monitor I have which may be able to deal with whatever resolution Gnome is defaulting to. However, Id rather just boot into single user mode.
I'm running Debian Lenny. When I exit run level 1 (single user mode), the system automatically continues into run level 2. I have browsed the init scripts and have yet to determine how this "magic" is performed. I would be grateful if a local guru would point me to how the scripts automatically proceed into run level 2 when exiting run level 1
When I start an upgrade or dist-upgrade from single-user mode, and walk away for a long time, I will have found that some packages insist on prompting for answers to questions midway through. That requires me to physically check the console periodically, and that becomes less practical for long upgrades.Is there a way for me to somehow remote into that console and answer any prompts that would popup? By "way" I mean not involving KVM switches or other hardware other than the LAN setup I have now (i.e., I am able to ssh into the machine being updated from another machine, but not when the machine is in single-user mode).
BTW, the reason I am using single-user mode is that, in the past, I have had problems with upgrading packages like GNOME when I am logged into the GNOME Desktop.
I am starting Debian in single-user mode since my video is not detected in X mode. I would like to start a script at boot time with Debian. I flowed the instruction from this page [URL] but is not working.
I just installed Squeeze because Lenny didn't have the best Bluetooth support. (Just installed blueman and everything I have works without any configuring, by the way). In Lenny, gdmsetup would allow me to choose a theme for the login screen as well as change settings for logging in. With Squeeze, fully updated, I only get a couple simple options for changing automatic login (screen shot of gdmsetup).
There is a config file that I found: Code: /etc/gdm3/greeter.gconf-defaults It is a simple config file but I do not know the available themes and cannot preview them.
i finally got X and gnome installed and working on squeeze now.but the login screen and network settings were grayed out.Since i install those things from installation CD, I am thinking there are packages missing.
I have a problem with mouse and keyboard. Both freeze within 30sec to half an hour after logging into squeeze 64bit (using gnome). My hardware is Asus P7P55D EVO (tested with linux according to ASUS) with Intel i5 760 CPU. I use IBM keyboard and Trust PS2 mouse. I also have MSI HD4350 graphics card, that was at least listed on Ubuntu to be supported, worked fine also with Lenny.
When using same combination with Lenny (64-bit) I never found any problem with either keyboard nor mouse, even running long nights. However there was need to upgrade to Squeeze since it has newer kernel supporting the sensors on board my MB. I used same mouse and keyboard also on Ubuntu 9.10 and had never problems. However when I upgraded to new MB I started with Ubuntu 10.04 64 bit version and experienced same keyboard and mouse freeze as I have now in squeeze. Only way out from this status is hard reset using PC reset button.
I connected with putty to my linux box and found following (while the linux box was on frozen state) from dmesg on keyboard: :/var/log$ dmesg | grep -i keyboard [ 1.064628] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
The story was starting newbie named cassamovefall installing graphic driver for his new Debian Squeeze. Here his uname -r : 2.6.38-bpo.2-686-bigmem He use Dell N4110 notebook, with specs : Core I5-2410M & Dual Graphics ( Intel HD 3000 & ATI Radeon HD 6630M with codename TURKS )
He had tried kinds driver to install it; from fglrx, ati, radeon & radeonhd ; and also with kind ways. But they are gave same result, when login screen should appear, but it didn't. It's just showed blank black screen with blinking '_' (underscore) at top left. This is his Xorg.0.log when using radeon driver, via recovery-mode (text based) :
I have been using my system for couple of weeks, and normally update software when the icon is displayed on top bar (gnome). Last couple of days there were updates for X, and I am not sure whether that is the cause of my problem. Once bootup, I get the login screen. When enter the password the login screen keep coming back. there is no error about any password issue, or anything. It keeps prompt me to enter the password.
I could login back the following way.
1. ctrl + alt + F1 , and login with the same username/pwd as for X 2.change to root 3.pkill gdm3 4.exit from root to user privilege 5. startx
The system starts X correctly and no login screen is displayed. I could use the system as usual.
The only thing I did custom to my system was upgrading to the latest kernel (2.6.38) using the source. This was to get support for my hardware, but that was about a month ago. I do not see anything in /var/log (X, demesg etc).
I installed 2.6.38 from backports. It boots OK, and among the start-up messages it says it has started kdm, but then it offers only a console login prompt, no GUI. I assumed (perhaps optimistically?) that newer kernels would be backward-compatible, and that any dependencies on other software would be enforced by the package mechanisms. Running amd64, Squeeze, KDE.
I'm trying to set up ftp server in the most simple way possible - login to home directories for existing linux users (except root). I get "Login incorrect" when I try to authenticate, although I am sure it is the right user-password (I even changed it using passwd on server's shell and tried again with the new one). The funny thing is even if I purge the proftpd package and install vsftpd instead - it doesn't help - I can't log in. But I can log in with ssh.
I've been installing proftpd on a server running fedora 8. It is setup in standalone server type, and I checked that the process is running and listening to port 21. When I try to login using a ftp client in Normal mode with root user & password , I receive first a 220, then a 530 login incorrect error. Can you help me?
I've been pasting my proftpd.conf configuration file below
I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?