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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-18-2012, 08:42 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 28
Rep: 
|
Why can't I log into root? (. . . and a few other problems U^_^)
Hi, sorry if this has been asked many times before but I don't have much time to go searching for the answers via search engine atm (I'm using a wired connection right now)
My problem is that I can't seem to login as root from my normal account. I'm confused because I've never had this problem w/ any other distro, usually sudo [password] or su- works.
I'm using salix os now and it's really beautiful except for one thing--no wifi support for broadcom! I tried following instructions to get it to work, but the slapt-get isn't recognized so I can't download what's needed  Usually when the command isn't recognized, I just log into root and then it works fine (like w/ pacman, I couldn't install if it's just "pacman" and not sudo pacman)
Haha, I'm kinda stuck, can anyone help?
|
|
|
09-18-2012, 08:44 AM
|
#2
|
LQ Newbie
Registered: Jul 2012
Posts: 28
Original Poster
Rep: 
|
Um, if I'm being unclear--
when I type sudo and it asks for the password, it says that the password is wrong. But I'm 100% sure that I have the right root password bec. I've used it for all the distros I've tried. And when I tried (lol as a long shot XD) to login as root at the login screen, it says that the admin can't login fron that screen. So it must've recognized that I used the root password.
|
|
|
09-18-2012, 08:57 AM
|
#3
|
LQ Newbie
Registered: Sep 2012
Posts: 3
Rep: 
|
Just checking, it's not that you're not in the sudoers list? Like, the error message definitely says that the password is wrong and not that you don't have access or privileges to do that?
|
|
|
09-18-2012, 09:05 AM
|
#4
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
Quote:
Originally Posted by rayyu
Um, if I'm being unclear--
when I type sudo and it asks for the password, it says that the password is wrong. But I'm 100% sure that I have the right root password
|
sudo needs your user password, not the root password.
Salix (like most distros) wisely does not accept GUI login as root!
|
|
|
09-18-2012, 09:26 AM
|
#5
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
I haven't run into pre-packaged broadcom support. But with a little hunting, its fairly easy to get up and running -- In centos/sl6/arch -- provided you have a supported card.
|
|
|
09-18-2012, 09:34 AM
|
#6
|
LQ Newbie
Registered: Jul 2012
Posts: 28
Original Poster
Rep: 
|
Quote:
Originally Posted by byrnify
Just checking, it's not that you're not in the sudoers list? Like, the error message definitely says that the password is wrong and not that you don't have access or privileges to do that?
|
It says that the password is wrong, try again. This is as a normal user. Uhhh I have no idea about the sudoers list. . . I've never had this problem before U^_^
Quote:
Originally Posted by snowpine
sudo needs your user password, not the root password.
Salix (like most distros) wisely does not accept GUI login as root!
|
Ohhhh! I tried using the user password though, it says I'm not on the sudoer's list and this incident will be reported o_O (to me, I guess, being the -very inexperienced- admin and sole user XD)
Quote:
Originally Posted by szboardstretcher
I haven't run into pre-packaged broadcom support. But with a little hunting, its fairly easy to get up and running -- In centos/sl6/arch -- provided you have a supported card.
|
I've tried arch and got wifi up on that, but I don't really like arch XD not a fan of cent either. Sabayon probably has the most hardware support aside from ubuntu, but I'm sticking to slack derivatives 
|
|
|
09-18-2012, 09:38 AM
|
#7
|
LQ Newbie
Registered: Jul 2012
Posts: 28
Original Poster
Rep: 
|
So I'm guessing this has something to do w/ the sudoers list?
|
|
|
09-18-2012, 10:17 AM
|
#8
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Salix, as most (all?) Slackware derivatives does not use sudo by default, so you can't start your programs with sudo. Nonetheless you should be able to either use the GSlapt package manager from the menu (you will be asked for the root password) or slapt-get with authenticating as root via su - before.
Alternatively you can press Ctrl+Alt+F1 to get to a virtual console where you can log in as root (back to the GUI with Alt+F7).
If none of these things work there is either a misconfiguration or you don't use the correct password.
|
|
|
09-18-2012, 01:02 PM
|
#9
|
LQ Newbie
Registered: Jul 2012
Posts: 28
Original Poster
Rep: 
|
I keep getting "command not found" if I use slapt-get  ohwell, I guess I'll try again tomorrow. I can't imagine there being a misconfiguration; salix installation is very straightforward, not much room for error except maybe in the partitioning. And I'm pretty sure the password is right, because the system recognizes it as the root password. . . it just won't let me log in as root in the terminal U=_=
|
|
|
09-18-2012, 01:13 PM
|
#10
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
You can start slapt-get only as root, very likely is it not in the path of an unprivileged user. If you neither can login as root nor switch to root with su then the chance that you use the wrong password is about 99%.
What exactly do you mean with "it recognizes it as root password" and "won't let me log in as root on the terminal"?
Please give us exact information here, what exactly have you tried (which commands exactly have you used?) and which error-messages exactly do you get?
|
|
|
09-18-2012, 03:50 PM
|
#12
|
Member
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205
Rep:
|
This might be a long shot but... are you trying to log in remotely as root via SSH (for example) to this computer? If so, maybe the access as root via SSH has been disabled as a security feature (I don't really know much about Salix, just suggesting).
Otherwise, you can try to change root's password in that machine and see if it works.
|
|
|
09-19-2012, 09:22 AM
|
#13
|
LQ Newbie
Registered: Sep 2012
Posts: 3
Rep: 
|
Sounds like craigevil has nailed it.
Rayyu let us know if you're still having problems after you add yourself to the sudoers list, or if you can't work out how to do it.
|
|
|
09-19-2012, 09:40 AM
|
#14
|
Member
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Rep:
|
If root access is not permitted, changing sudoers file won't be possible...seeing as you have to be root to change it. Just to clarify - when you try to "su -" and you give it the root password what error message does it give you? If it is telling you password is incorrect you may need to go into maintenance mode to reset root password -- you can only do this if it is not set to prompt for root password in maintenance mode.
Also, if it is set so only the wheel group can su to root (Which is not default it has to be set) then you may want to log directly into the console as root instead of logging in as yourself first.
|
|
|
All times are GMT -5. The time now is 04:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|