Thread: Cannot Login
View Single Post

  #1 (permalink)  
Old 04-26-2008, 11:03 AM
mvibin mvibin is offline
Junior Member
User
 
Join Date: Apr 2008
My distro: CentOS and RHEL
Posts: 15
Rep Power: 0
mvibin is on a distinguished road
Question Cannot Login

HI,

I have got a problem with my login. I am not able to login through local console or ssh to my machine. In sshd_config file, i have changed the port no. Used DenyUsers, DenyGroups, AllowUsers and blocked the root login. I also used the /etc/hosts.allow to deny some domains,

sshd: .hinet.net deny

I tried to take backup using this command

tar -zcvpf /archive/full-backup-`date '+%d-%B-%Y'`.tar.gz \
--directory / --exclude=mnt --exclude=proc --exclude=var/spool/squid

but it never worked. Now i am not able to login to my machine through ssh or local console. In local console when logging in, it falls back to the login screen saying "Authentication Failure" in a flash.

Please help me get out of this soup. Thanking you all in advance.
Reply With Quote