LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-09-2006, 02:09 PM   #1
Sir. BOBSONATOR
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Rep: Reputation: 0
How to log in as root?


How do i log in as root? i need to run a driver using ndiswrapper

Thakns.
 
Old 08-09-2006, 02:20 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Open a terminal and type "su" (without quotes) and enter your root password when prompted. If you're using Ubuntu, the root account isn't enabled by default so you will need to prefix any commands you use with "sudo" and enter your user's password when prompted (e.g. "sudo modprobe ndiswrapper"). You do not want to log in to a GUI as root, as it's dangerous.
 
Old 08-09-2006, 02:25 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You can easily enable the root account in Ubuntu:
sudo passwd root
enter your user password
at the prompt, enter the new root password

More generally, you will need to know the root password. If somehow you don't, then you can boot from a live CD to reset it.

Tell us what distro, etc. for more details
 
Old 08-09-2006, 02:27 PM   #4
Sir. BOBSONATOR
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Its Ubuntu.

i am installing a intel wireless 2200BG on my 600m, and just installed my driver successfully according to ndiswrapper.

So i click on connection props, eth1 and it says status disconnected.

Last edited by Sir. BOBSONATOR; 08-09-2006 at 02:31 PM.
 
Old 08-09-2006, 02:32 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't need to use NDISWrapper for those cards, as Intel provide a native driver .
 
Old 08-09-2006, 02:45 PM   #6
Sir. BOBSONATOR
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Original Poster
Rep: Reputation: 0
i have that, i just dont know how to install it.

Help would be appreciated.
 
Old 08-09-2006, 03:10 PM   #7
Sir. BOBSONATOR
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Wow, i solved it, i feel like a retard. all i did was change the passord.

Shiza.
 
Old 08-09-2006, 03:14 PM   #8
sdexp
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Rep: Reputation: 15
Why would anyone disable the root account? It's like using a TV--there's hardly any control.
 
Old 08-09-2006, 11:49 PM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Sir. BOBSONATOR
i have that, i just dont know how to install it.

Help would be appreciated.
There are some instructions here. You can check which version of the kernel you're running with "uname -r".
 
Old 08-10-2006, 05:46 PM   #10
Vince013
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
Hi, i'm so new to linux.. and I don't much of the terminology you all used in your posts. I don't think it could help me even if I knew what Ubuntu was (I just know that I don't have it). What I do have is a SUSE 10.1 kernel, with a Gnome UI (I think it's called a User Interface). Can some one please guide me to the root user account, or, if possible, show me hw to recoigure my current (limited) user with root user capailities?

Help would be most appreciated, Thank you.

Last edited by Vince013; 08-10-2006 at 05:48 PM.
 
Old 08-10-2006, 06:04 PM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Vince013
Hi, i'm so new to linux.. and I don't much of the terminology you all used in your posts. I don't think it could help me even if I knew what Ubuntu was (I just know that I don't have it). What I do have is a SUSE 10.1 kernel, with a Gnome UI (I think it's called a User Interface). Can some one please guide me to the root user account, or, if possible, show me hw to recoigure my current (limited) user with root user capailities?

Help would be most appreciated, Thank you.
Ummmm---you just checked in to a thread where this question has been answered.

With SUSE, you should have entered a root password when you installed. If not--or if you have forgotten--you have 2 choices:

1. Reinstall

2. Boot from a Live CD, navigate to /etc/passwd in the SUSE install, and change the entry for root---deleting the first "x". After the change, it will read--in part: root::....etc"

If you cannot log in as root, you cannot change the privileges for other users.
 
Old 08-10-2006, 06:27 PM   #12
Vince013
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
but what if my root username is the same as the limited username i'm on. My hostname is the same as my limited username.. or am I wrongly assuming that root username = hostname?

After my laptop goes into screensaver mode (after I close it), when it pops up it says:

<My Full Name>
Vince on Vince
Password:
^I have no idea if that info. is of any help to get an idea of what i'm trying to say.. i just felt like throwing it out there. I'm gonna need to change my hostname, I think there's another thread on that. I'll check it out.
 
Old 08-11-2006, 01:00 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The root username is "root".
 
Old 08-11-2006, 01:53 AM   #14
Vince013
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
thank you so much!
 
  


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
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 04:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Can't log in as root?? Seribicus Mandriva 10 07-16-2004 12:44 PM
Can only log in as root Spaceboy Linux - General 6 09-08-2003 03:52 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM

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

All times are GMT -5. The time now is 08:25 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
Open Source Consulting | Domain Registration