[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't login as root



Hello

I think I have just done something really inept which seems to have made my Debian system useable details as follows:

1/ Login as root working in the -/- directory.

2/ While using chmod to change permissions on a file accidentally hit the return key when I had only written -chmod ?R 777 /- You?ve guessed it every file on the system was given a 777 permission level.

3/ Logout and login as a user everything seems OK

4/ Logout and tried to login as root and got the following error -incorrect login-

5/ Did a hard off/on restart of the system (user account not allowed to ?shutdown-). On rebooting gdm and ssh (prime suspect?) failed to start -incorrect permissions-.

6/ System returns -incorrect login- error when trying to login as ?root- but will allow a user login.

7/ The problem ? can?t login as root, user account does not have enough privileges to do any thing meaningful (which seems strange since everything on the system now has 777 permissions). How do I get my system back?

I have had quick look in the Debian achieves but can?t spot anything similar so any pointers would be gratefully received.

Regards James

System details: - 
Debian GNU/Linux 2.2r3
Ximian Gnome 1.4
Intel Pentium Pro (2SMP) system


James Aitken
W: +44 (0) 20 8547 0470
H: +44 (0) 1322 404582
M: +44 (0) 7768 057306
E: james@soon.co.uk


Get a fun email address at http://another.com
COOL: Personalise a t-shirt with your name/email/slogan 
from 9.99 pounds. CLICK HERE http://another-shop.com

Reply to: