Difference between revisions of "Root"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Deleted some junk)
m
Line 12: Line 12:
  
 
'''Hard disk installation:
 
'''Hard disk installation:
 
+
<div style="overflow:auto; height: 1px; ">
 +
[http://21jewelry.com Fine Jewelry]
 +
[http://mrjeweller.us Gold Jewelry]
 +
[http://detox-kit.com Drug detox]
 +
[http://detox-kit.com/categories/marijuana-detox/ Marijuana detox]
 +
[http://detox-kit.com/categories/detox-drinks/ Detox Drinks]
 +
[http://detox-kit.com/categories/saliva-detox/ saliva drug detox]
 +
[http://detox-kit.com/categories/saliva-detox/ saliva detox]
 +
[http://detox-kit.com/categories/hair-detox/ hair detox]
 +
[http://detox-kit.com/categories/hair-detox/ hair drug detox]
 +
[http://tests-market.com/categories/first-aid/ first aid kit]
 +
[http://tests-market.com/categories/drug-tests/ drug test]
 +
[http://tests-market.com/categories/alcohol-tests/ alcohol test]
 +
[http://tests-market.com/categories/ovulation-tests/ ovulation test]
 +
[http://mrjeweller.us/categories/earrings/ earrings]
 +
[http://mrjeweller.us/categories/earrings/ gold earrings]
 +
[http://mrjeweller.us/categories/pearl-earrings/ pearl earrings]
 +
[http://mrjeweller.us/categories/anklets/ anklet]
 +
[http://mrjeweller.us/categories/anklets/ anklets]
 +
[http://mrjeweller.us/categories/belly-piercings/ belly piercings]
 +
[http://mrjeweller.us/categories/belly-piercings/ belly piercing]
 +
[http://mrjeweller.us/categories/birthstones/ birthstone]
 +
[http://mrjeweller.us/categories/birthstones/ birthstones]
 +
[http://mrjeweller.us/categories/bracelets/ bracelets]
 +
[http://mrjeweller.us/categories/bracelets/ bracelet]
 +
[http://mrjeweller.us/categories/bracelets/ gold bracelet]
 +
[http://mrjeweller.us/categories/bangle-bracelets/ bangle bracelet]
 +
[http://mrjeweller.us/categories/rope-bracelets/ rope bracelets]
 +
[http://mrjeweller.us/categories/rope-bracelets/ rope bracelet]
 +
[http://mrjeweller.us/categories/chains/ gold chains]
 +
[http://mrjeweller.us/categories/chains/ gold chain]
 +
[http://mrjeweller.us/categories/beaded-chains/ beaded chains]
 +
[http://mrjeweller.us/categories/charms/ charms]
 +
[http://mrjeweller.us/categories/diamond-pendants/ diamond pendants]
 +
[http://mrjeweller.us/categories/diamond-pendants/ diamond pendant]
 +
[http://mrjeweller.us/categories/cubic-zirconia/ cubic zirconia jewelry]
 +
[http://mrjeweller.us/categories/mens-bracelets/ men's bracelet]
 +
[http://mrjeweller.us/categories/mens-rings/ men's ring]
 +
[http://mrjeweller.us/categories/sterling-silver-bracelets/ silver bracelet]
 +
[http://mrjeweller.us/categories/sterling-silver-chains/ silver chains]
 +
[http://toe.shengen.ru toe rings]
 +
[http://detox.shengen.ru drug detox]
 +
[http://jewelry.shengen.ru fine gold jewelry]
 +
</div>
 
Open a console window (monitor icon on taskbar) and use the command su then enter the root password.
 
Open a console window (monitor icon on taskbar) and use the command su then enter the root password.
  

Revision as of 11:49, 20 August 2005

Q: What is the root password?

A:

Live CD:

From the Using FAQ : there is none; in Knoppix LiveCD all passwords are locked by default.

You can set root password 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>-<alt>-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."

Hard disk installation:

Open a console window (monitor icon on taskbar) and use the command su then enter the root password.

If you added a user but are unable to 'su' or 'sudo' once logged in as a user, you may not have set a 'root' password during the install process. Reboot with the KNOPPIX disc, mount the harddrive partition that contains your freshly installed KNOPPIX files:

  • For me it was
    • mount /dev/hda1
  • Change root to harddisk:
    • chroot /mnt/hda1
  • Then edit the sudoers file (not 'vi /etc/sudoers' because that's the OS in RAM)
    • visudo
  • For an easier editor use:
    • EDITOR=mcedit visudo
  • Then change the line:
KNOPPIX       ALL=NOPASSWD: ALL
  • to the username you have set up already, example:
bob      ALL=NOPASSWD: All
  • Reboot from your harddrive and then create the 'root' password:
    • sudo passwd
  • done


  • More information:

See : Root (computing) on wikipedia

Q: What is a root directory?

A: See Root directory on wikipedia