Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Root Password (what is it?)

  1. #1
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338

    Root Password (what is it?)

    Due to the flood of posts on questions ranging from:

    What is the root password?
    How do I get root access?
    What is the Administrator password?

    etc, etc, etc... when using the Knoppix CD.
    ( NOTE: When you install Knoppix to your hard drive, you are asked during the install what the default user "knoppix" and "root" passwords are going to be, and this does not apply. Only when you use the CD to boot with, and have not booted under a hard drive install )

    This post should get those posts down to an answer here, I hope...

    Quote Originally Posted by Here is what Markus
    From the FAQ:
    Q: What is the root password?
    A: There is none; all passwords are locked by default. You can set it by going Knoppix Menu->Root Shell and typing "passwd", then enterting a root password, also there are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt. You can also type "sudo su" or "sudo -s" in any console window, or use <ctr>--F2 to get at the text console with already opened root shell.

    Apparently, however, in some versions of Knoppix, if you type 'sudo -s', it will ask for a password. If you simply press return without entering anything, it will tell you 'Authentication Failed."
    Thanks Markus for the quote from the FAQ.

    If this post does not answer your question about passwords, Knoppix passwords that is, you can also type root password in the box above, labeled Search Knoppix.net, to find other posted questions and responses.

    Thank you.

  2. #2
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Someone requested a new user section, and eadz indicated his approval of the idea. http://www.knoppix.net/forum/viewtop...?p=51523#51523 This would really make a good sticky for that section too if it is created.

    jd

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    If you don't like to set a root password you can alway launch an application from the command line. Just get root first.

    su
    qtparted&

    voila! qtparted launched as root.

  4. #4

    RE: Root Password

    If you havent noticed,
    #su
    #passwd
    Will let you set the root password, simple.

  5. #5
    Junior Member
    Join Date
    Aug 2004
    Posts
    1

    -thank you all for helpw with root passwordw!
    -now if I could just get rid of this for ever wthat keeps w showing up every where
    even using Suse also on this machinew.

    I'm using a logitech wireless itouch keyboard and I only have this problem in Linux although not sow far in Red Hat 9.

    -any suggestionsw?
    -can only delete by highlighting and then deleting
    -if I back space it automaticawlly shows upw.

    michaelo.waugh@telus.net

  6. #6
    Hi

    I have followed the instructions from the FAQ but when I type "passwd" I get the "Changing password for knoppix (current) UNIX password:" request, but I can't type anything at all after that.

    I assume (as the FAQ quote says) that there's no password, so press enter without typing anything, but I get the message "passwd: Authentication faliure". I have also tried typing something, anything, but the console window won't let me enter any characters at this point.

    I have tried this a number of times but to no avail.

    Do you have any suggestions?

  7. #7
    Never mind, got it.

    I wasn't running the root shell window, just a standard console window.

  8. #8
    Junior Member
    Join Date
    Dec 2004
    Posts
    2
    appearantly YOU DON'T NEED TO CHANGE THE PASSWORD!!

    Just go to the BASH shell (terminal) and just type "su" (w/ out the quotes)

    There, u got root access!


    This is ONLY FOR THE LIVE CD THOUGH!

    xboxrulz

  9. #9
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Quote Originally Posted by xboxrulz
    appearantly YOU DON'T NEED TO CHANGE THE PASSWORD!!

    Just go to the BASH shell (terminal) and just type "su" (w/ out the quotes)

    There, u got root access!


    This is ONLY FOR THE LIVE CD THOUGH!

    xboxrulz
    In some cases, you do... If you are logged in as the "default" Knoppix user, running off the Live CD, and want to make changes with, say, Control Center - some things require you to enter the "Administrator" password, or the "Super User" password... If a root password is not set, then entering nothing in that querry, reports an error. If you want to change the format of time and date, within Control Center, you need to be able to enter a Super User password... If you wanted, you could get around this, by doing a su in your own konsole, then typing kcontrol, or, you could just type sudo kcontrol - but some people will just want to click on the menu entry Control Center - and using the menu entry, will start the program in your "user" rights / permissions, and not root's.

  10. #10
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Just a little enlightenment...

    If you noticed, this post being directed to anyone new to Knoppix / Debian / Linux, that you have two options for being a root; su, and sudo.

    Possible uses for these two Command Line commands:

    sudo program - where program is something that you want to be run as root user priveledges. This can be used to run only one program as root, and when that program ends, your regular user priveledges are returned in the konsole you entered this command in.

    su - This can be used when you need to enter more than one command, and they all need to be run as root. This command is good when you need to run more than one command as root, and dont want to keep adding the sudo in front of all of them...

    For some examples:
    sudo kcontrol

    su
    kcontrol
    guarddog
    netcardconfig
    exit


    ( note, the exit at the end of the su "block" will cause the root logged in to "exit", and log out root, returning you back to your regular user account. It should also be pointed out that all three of the programs, listed inbetween su and exit, are run as root )

Page 1 of 2 12 LastLast

Similar Threads

  1. Root Password ( what is it? )
    By Cuddles in forum The Lounge
    Replies: 13
    Last Post: 06-18-2007, 10:43 AM
  2. root password
    By motika in forum Klik
    Replies: 6
    Last Post: 06-24-2005, 07:56 PM
  3. root password
    By stol in forum General Support
    Replies: 2
    Last Post: 05-13-2004, 03:14 PM
  4. Root password?
    By CyberShadow in forum General Support
    Replies: 1
    Last Post: 04-05-2004, 06:49 AM
  5. WHY IS THERE NO PASSWORD FOR ROOT!?!?!?!
    By blaxe in forum General Support
    Replies: 5
    Last Post: 03-14-2004, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •