Inhumed,
Quote:
I screwed up my debian system by trying to setup an ftp server with vsftpd very quickly without reading much documentation (very stupid) as root. I must have screwed up the something to do with the home directory for my user because now I cannot even log in with my usual username and password when the computer starts up. All the computer says when I try to log in is:
|
It is thus assumed here that you have once or many times previously logged as ordinary user and cd'd into your /home/sweethome folder.
Also, assumed here that your vsftpd daemon is already running.
So I just thought:
To make it easier stop the vsftpd daemon first --
a) (use the init.d script at the /etc/init.d/ --I am not sure how is it implemented with Debian just browse the /etc;
b) or you can kill the vsftpd process,
--# ps axu | grep vsftpd
then --# kill PID {vsftpd}
After that try to login from a tty# (press Ctl+Alt+F3-5) as ordinary user and find out if you can get into your /home/sweethome. If not then go back to your root session (press Ctl+Alt+F7), using a cli issue commands:
--# chown -R inhumed:users /home/sweethome
--# chmod -R 775 /home/sweethome
then go back to your tty3 (press Ctl+Alt+F3) login as ordinary user and we now hope you are back to your /home/sweethome. If lucky, go immediately, review your vsftpd.conf and check out where you messed it up. There are good tutorials for that
here and
there.
Hope it helps. Good luck.