Ok, I think I found the problem but I need help
I re did the linux rescue and this is what it said when it started.
Code:
RESCUE
Your sytem has been mounted under
/mnt/sysimage
Press enter to get to the shell. If you would like to make your system the root environment run the command
chroot /mnt/sysimage
The sytem will reboot automatically exit the shell
OK SKIP
I pressed ok and it went to a command "sh-2.05#"
From here I went to
cd /etc
ls
pico passwd
and this is what passwd said
Code:
root::0:0:root:/:/bin/bash
As I said before I was editing this file on a windows machine on my LAN when I was trying to setup proftpd. I luckily had this passwd file on my windows machine and this is what it said
Code:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:Daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/var/spool/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/bin/false
nobody:x:99:99:Nobody:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/dev/null
rpm:x:37:37::/var/lib/rpm:/bin/bash
xfs:x:43:43:X Font Server:/etc/X11/fs:/bin/false
ntp:x:38:38::/etc/ntp:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/bin/false
gdm:x:42:42::/var/gdm:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/bin/false
ident:x:98:98:Pident user:/:/sbin/nologin
radvd:x:75:75:radvd user:/:/bin/false
apache:x:48:48:Apache:/var/www:/bin/false
squid:x:23:23::/var/spool/squid:/dev/null
pcap:x:77:77::/var/arpwatch:/bin/nologin
mysqlusr:x:500:500::/home/mysqlusr:/bin/bash
marc:x:501:501::/var/ftp/marc:/bin/false [color=Red] <-- this was the ftp user that I added with bin/flase[/color]
As you can see the 'root" is missing an 'x" so I went to pico and edited the file within rescue. i have never done this before so I am not sure if I am doing it right
Anyways I told it to save the buffer over the curent /etc/passwd file with the "x" there
I rebooted and again it said CANNOT START YOUR SHELL, IT COULD BE THAT THE SYSTEM ADMIN ...........
It lloks like the password is ok but it wont atart the KDE or GNOME
I went back to linux recue cd'd over the /etc/passwd and again it did not take , it still says
Code:
root::0:0:root:/:/bin/bash
So it looks like whin I am saving the file in pico, the file is not saving
Do I have to do something else to edit and then save that file so I can change it to read
Code:
root:x:0:0:root:/root:/bin/bash