LinuxQuestions.org
Visit Jeremy's Blog.
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 06-07-2012, 01:03 AM   #1
sixto
LQ Newbie
 
Registered: May 2012
Posts: 7

Rep: Reputation: Disabled
strange situation with root password


Hello all,

I am running easypeasy on a eepc from an external usb drive (lack of space and its fun!) everything was going well until..........

i installed the jack server and had to add me to the audio group. i typed up 'groups' but audio was not on the list , so i did an addgroup and it told me 'audio' was already there. so i did a 'usermod -a -G 'group' 'user' and jack was up and running. but now i can log in okay but cannot use my root passwd for anything! it does not authenticate.

I just want to know what i did wrong?
should i have used 'adduser' instead of 'usermod'?
does booting from an usb drive ( its actually an old laptop HD in a usb sleeve) could that have partly caused it?
I could change my passwd but would that cause other problems down the road?
AND Does any of this have anything to do with the passwd problem in the first place?

sorry for this being long , but i'm just very curious and would really like to wean myself off windows.

Thank you all in advance. Sixto
 
Old 06-07-2012, 01:33 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
When you say that you can't use your root password does it mean that you cannot run as root anything from your account or that you cannot login ,e.g. in a console, as root?
 
Old 06-07-2012, 02:07 AM   #3
sixto
LQ Newbie
 
Registered: May 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you for a quick reply Slackeyman.

Yes i can log in but once inside i cannot 'sudo' anything in the terminal, cannot install any software or do anything where i have to be root, but i can log in!

Sixto.
 
Old 06-07-2012, 03:01 AM   #4
sixto
LQ Newbie
 
Registered: May 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
One more thing it tells me is that im not part of the 'sudoers' group.

how did i get thrown out of that group?

thanks.
 
Old 06-07-2012, 03:28 AM   #5
sixto
LQ Newbie
 
Registered: May 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
ok fixed it yay!

kinda 'sudo' works now but 'su' does not.

went into recovery mode to a root prompt and added 'me' to the admin group.

but how did i get kicked out of that group?

anyway. another day my friends! thanks for the guidance.
 
Old 06-07-2012, 03:12 PM   #6
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Check even the content of the sudoers file.
Check even if (for some strange accident) the SU_WHEEL_ONLY present in /etc/login.defs is erroneously set to yes.
 
  


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
Strange situation: network gatewayed, then proxied dtinazzi Linux - Networking 2 02-23-2011 03:48 PM
strange situation with totem(radeon9200se+mdk10.1) Filmoscope Linux - Hardware 0 05-13-2005 12:57 AM
Strange root password problem harken Linux - Security 3 02-17-2005 01:12 PM
password tricky situation jamaso Linux - Security 4 10-14-2002 12:27 AM
Need help getting root access - Unusual Situation solo545 Linux - Security 11 08-17-2002 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration