LinuxQuestions.org
Visit Jeremy's Blog.
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 09-03-2008, 03:29 PM   #1
cherith.brook
LQ Newbie
 
Registered: Sep 2007
Posts: 27

Rep: Reputation: 15
Root permissions/ passwords


I have installed Knoppix on my hard drive . I wish to configure dialup with wvdial on my external modem. To do this I need root permission /password . I have tried to gain permission /password with a live CD without success. How do I gain root/administration permission on Knoppix please.Using "Root shell" or "root password" in the menu brings the message "su error"
 
Old 09-03-2008, 03:35 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
I believe you can simply use sudo:

Code:
sudo root_priv_command
if you want to always be root:

Code:
sudo passwd root
then 'su' & use the password you gave above.
 
Old 09-03-2008, 09:10 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think that the first regular user is automatically added to the wheel group. You can use "sudo <command>" to run a command as root. If you will have several consecutive commands to run as root, you could try "sudo /bin/bash -l" to launch a root shell.

To simply edit a file on /etc, you can do something like "sudo vim /etc/wvdial.conf" or "gnomesu gedit /etc/wvdial.conf".

I use KDE, so I could hit [CLTRL]-[F2] to launch the run dialog and enter "kdesu kate <filename>".
 
  


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
two root passwords openbysource Red Hat 4 12-02-2005 07:19 AM
Default Root Passwords? Pauli Linux - General 7 09-01-2005 11:35 AM
two root passwords!!!! mufy Linux - Security 9 01-06-2005 05:10 AM
Help! root has two passwords! jev-bird Linux - Security 13 11-25-2004 06:23 PM
MySQL root passwords ridertech Linux - Software 4 05-11-2004 10:24 AM

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

All times are GMT -5. The time now is 07:34 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