LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2003, 12:50 PM   #1
n00dles
LQ Newbie
 
Registered: Aug 2002
Location: South Shields, UK
Distribution: Mandrake 9.0
Posts: 11

Rep: Reputation: 0
Unhappy Password issues.


Hi,

A while back I used Mandrake 8.1, but gave up after not being able to get my 3 monitors working. Have just installed 9.1 and it's great! The monitors worked off the bat and I managed to get everything setup the way I want it. Just getting comfortable enough to format me Windows partitions when a couple of problems have arisen.

First, I have a user account and the root account. Everything was fine, log into X as user and if I need to do anything I can SU in terminal or a GUI function (Userdrake/Netconf etc) will ask for the root password. Well, that was fine, but now it won't accept the password. I thought that something may have gone wrong with the psswd file, but I rebooted into failsafe and logged in to root fine. It only seems to be when I'm in X that there is a problem. I've tried in CAPS, Caps but can't get it to accept it.

Also when it was working I was in File Manager - Super User and was changing the accress rights to certain directories. I ticked the box to apply the change to all files and subdirectories, but it didn't seem to do it.

And how to you log into X as root? It only gives my account as an option and I can't find a around it...

Anyhelp would be greatly appreciated as I really though I'd got on top of things for a minute there..I don't want to get frustrted and throw in the towel again.

Thanks

TONY
 
Old 07-14-2003, 01:59 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I am not a Mandrake expert, so I can't help you with the root/X permission problem.

However, I can tell you how to login X as root

You can try Ctrl+Alt+BackSpace, that will kill X.
Then login as root and type startx.

You can also use the startx command when Mandrake boots in failsafe.
 
Old 07-14-2003, 02:17 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You need to either change the settings for the Kde Display Manager, but that needs the root password, or switch from MdkDM to the real KDM, again needing root access to install the package.
Or you can try Ctrl+Alt+F1 to log in as root, then startx.
 
Old 07-14-2003, 04:13 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"Also when it was working I was in File Manager - Super User and was changing the accress rights to certain directories. I ticked the box to apply the change to all files and subdirectories, but it didn't seem to do it."

A peculiarity of this command is that if no change is made to the directory then no change is made to the subdirectories and files. So If you make a change to the directory and then say, "Oops I meant to change everything." and then apply the changes to all files and subdirectories then nothing actually changes on the "apply all" command.

"And how to you log into X as root?"

One way is to log in as root and then issue startx.

"but now it won't accept the password"

Whether or not a user can su to root is an option. Log in as root and use the ControlCenter to check whether or not users can su to root.
 
Old 07-14-2003, 04:59 PM   #5
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
As far as logging in as root from the gui login you need to go into the KDE Control center and choose login manager, then put an x by root, now root will show up at the gui login screen.

As for the changing permissions of a directory and all files and subdirectories don't use the Window manager at a console or xterm as root type chmod -R xxx /directory/name this will change the permissions of all files and sub-directories.

As far as the su something must have been in one of the directories that you changed permissions on.

HTH
 
Old 07-14-2003, 05:35 PM   #6
n00dles
LQ Newbie
 
Registered: Aug 2002
Location: South Shields, UK
Distribution: Mandrake 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the replies, i'll try those out in a bit.

I was having a fiddle earlier though and it's just making less and less sense to me.

Now, I can login as root in failsafe, but if I boot as normal and try to login as root is won't accept the password. It won't accept the root password for SU and if I login as myself and open a terminal, I can't change users to root as that won't accept the password either.

If I boot in failsafe I can login as root, change user to me and when I try to change back to root it says invalid password Grrrrr!!

I'll have a go at your sugestions now...fingers crossed.
 
Old 07-14-2003, 06:19 PM   #7
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
You might be able to use some of the advice in this thread where somebody had lost their root password, maybe you can reset the password as suggested http://www.linuxquestions.org/questi...threadid=71914

Good Luck
 
Old 07-14-2003, 11:59 PM   #8
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
make sure the user is valid and is in the sudoers file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Password Recovery - Firewall issues csg1 Linux - Security 1 02-08-2005 05:25 PM
Help Needed for Root Password/permission issues. Ebenonce General 3 08-19-2004 06:57 AM
Can't work Samba, password issues lin00b Linux - Networking 3 07-29-2004 06:08 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 10:39 AM
Samba + Windows: Password Issues Sayman Linux - Networking 1 11-22-2003 06:24 PM


All times are GMT -5. The time now is 10:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration