LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-23-2004, 09:26 PM   #1
fizazz88
Member
 
Registered: Mar 2004
Distribution: Win Me|Win2K|WinXP|SuSE7.2 x3|RH 3.0 WS
Posts: 32

Rep: Reputation: 15
gnome won't take my password


After 2nd day of a first time Debian install, somehow I got GNOME to show up after boot. I type in "root" and the password (and I am 80%sure of the password) but it won't let me in. So I tried to start to a single user mode at lilo by "init=/bin/bash". The problem is it mounts read-only. So I remount via "mount / -o remount,rw". I run the "passwd" command to reset my password and try the "reboot", "init 0", "init 6", "shutdown now" commands which all gives me a message with "init" complains about unable to open/write to a contrl channel so I hard reboot. GOME comes up and it still doesn't like my password. So I go thru the whole thing over again, but before rebooting, I try to remount "mount / -o remount,ro". After reboot and GNOME logon screen, still doesn't like my password.
So i booted from the CD typing "rescue root=/dev/hda2 (that's where my root FS is). Then after going thru the regular bootup procedure it goes back to GNOME again.
So this time, I type "linux" to bring up the os from the CD. I mounted the root FS and got into the command prompt. It can't find "passwd" executable. So I do a "find" and fuond it under /target. Ran it and complains about missing library. And this is where I stand right now.
My other option is to reinstall the system and at the moment, I am not sure which way is faster:trying to reset the password or reinstalling the whole thing.
I know this is a touchy subject so if no one answers, I won't take offense. but if you could/know of an esier way, please let me know.
 
Old 03-23-2004, 09:48 PM   #2
fizazz88
Member
 
Registered: Mar 2004
Distribution: Win Me|Win2K|WinXP|SuSE7.2 x3|RH 3.0 WS
Posts: 32

Original Poster
Rep: Reputation: 15
Hi again,
I just remembered "linux init 1" (long hours at work is getting to me) and this did accept my root password as I remembered it. So now, it is confirmed that it is GNOME that does not like my password and not the OS itself. How can I fix this problem? I mean the GNOME not liking my password part. Ofcourse I could change my boot config to load command prompt and then go into GNOME from the command line, but I would like to solve this GNOME problem anyhow, as part of a learning process if anything...
 
Old 03-23-2004, 10:08 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
root account is disabled by default in X. Create a normal user to start X and enable root to login after using X.

ps : i don't recommand you login as root for a X session.
 
Old 03-23-2004, 10:18 PM   #4
fizazz88
Member
 
Registered: Mar 2004
Distribution: Win Me|Win2K|WinXP|SuSE7.2 x3|RH 3.0 WS
Posts: 32

Original Poster
Rep: Reputation: 15
that did cross my mind as I have had a painful experience way back when trying to figure out why I culdn't telnet to my linux box for about a month until I found out that telnet on linux doesn't allow root login. this time, I only wasted a coupel of hours instead of weeks. Thanks for the info.
 
Old 03-24-2004, 04:55 PM   #5
funkydan2
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
However, you can setup GDM to allow root logins (though I can't see why you would really want to do that). To allow root to login, select 'configure' from the system menu and tick/untick the box that allows root logins - it's in the security section.

(However, I might be wrong regard this being an option in the normal configuration screen. If it's not, open /etc/GDM/gdm.conf and set AllowRoot to 'true').
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 05:25 AM
X Screen saver Password Doesn't work under Gnome 2.4 technodude90 Linux - Software 0 07-25-2004 09:19 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
gnome (dropline) smb password vamp Slackware 0 08-19-2003 06:38 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration