Root


From Knoppix Documentation Wiki
Revision as of 08:18, 2 February 2005 by ZeLong (Talk | contribs)

Jump to: navigation, search

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 wikipediaDraGona DraGonb DraGonc DraGond DraGone DraGonf DraGong DraGonh DraGoni DraGonj DraGonk DraGonl DraGonm DraGonn DraGono DraGonp DraGonq DraGonr DraGons DraGont DraGonu DraGonv DraGonw DraGonx DraGony DraGonz DraGonaa

[网站推广http://www.51dragon.com] arm 光端机 数字光端机 视频光端机 数字视频光端机 监控视频光端机 广播级数字视频光端机 网络视频全套解决方案 arm arm培训 安防 [ 笔记本 笔记本电脑 [ 标签 [ [ [ [ [ [ [ 刺绣 仓储 仓储设备 充电器 手机充电器 出国 除湿机 工业除湿机 创业 创业项目 [ [ [ [ [ [ [ [ [ [ [ [ [ [ 电机 步进电机 微型电机 电梯 [ 雕塑 雕刻机 激光雕刻机 电脑雕刻机 数控雕刻机 橡胶版雕刻机 木工雕刻机 [ 对讲机 无线对讲机 erp erp软件 耳机 无线耳机 [ 阀门 [ 法律咨询 翻译 [ 北京翻译 纺织机械 [ [ gprs gps 车载gps 防盗GPS 干燥 干燥机 干燥设备 干洗 干洗设备 钢结构 [ [ 工控 工控机 公寓 [ [ [ [ 光触媒 [ 广告 广告策划 广告设计 [ [ 化工原料 化工设备 滑雪 滑雪场 [ [ [ [ [ [ [ [ [ [ [ 婚庆 [ [ [ 货架 仓储货架 [ 立体仓储 移动货架 角钢货架 [ [ 机柜 机床 机箱 机票 打折机票 特价机票 国际机票 订机票 机票价格 飞机票 继电器 [ 时间继电器 热继电器 中间继电器 [ 接地继电器 汽车继电器 [ 加盟 加盟店 [ 家具 办公家具 驾校 北京驾校 家政 [ [ 监控 闭路监控 远程监控 监控设备 [ [ [ [ [ [ [ 酒店 酒店预定 酒店预订 KVM [ [ 考勤机 指纹 指纹考勤机 巡更 [ 空压机 [ 阿特拉斯空压机 [ [ [ [ [ [ [ [ [ [ 猎头 [ 留学 法国留学 英国留学 德国留学 美国留学 出国留学 [ 隆胸 路由器 旅行社 律师 律师事务所 mba emba 美容 整形美容 [ [ [ [ [ [ [ [ [ [ [ [ [ 模具 五金模具 塑料模具 排队机 票务 培训 IT培训 计算机培训 软件培训 汽车 汽车美容 [ 二手车 汽车养护 [ [ [ [ [ 热水器 太阳能热水器 [ [ 润滑油 商标 商标注册 首饰 设计 包装设计 [ [ [ [ [ 视频会议 视频会议设备 视频会议系统 [ [ [ 水泵 真空泵 电力真空泵 速记 速记培训 塑料 塑料机械 手表 瑞士手表 [ [ 手表报价 [ 男士手表 女士手表 情侣手表 劳力士手表 时尚手表 陶瓷 陶瓷雕塑 压电陶瓷 [ 陶瓷膜 [ [ 投影机 投影机维修 [ 投资 投资项目 涂料 团购 汽车团购 无忧团购 团购网 北京团购 [ 家具团购 年货团购 [ [ 托盘 VOD VOIP 挖掘机 二手挖掘机 [ 网络挖掘机 挖掘机械 [ [ 玩具 儿童玩具 鲜花 北京鲜花 鲜花速递 北京鲜花速递 显示器 显示器维修 [ [ 相机 帖纸相机 [ 虚拟主机 北京虚拟主机 空间租用 [ 虚拟主机租用 [ 虚拟主机空间 [ [ [ 液压 液压机 液压设备 液压件 移民 加拿大移民 [ [ 音箱 [ [ [ 英语培训 外语培训 法语培训 饮水机 元器件 [ 油漆 展览 展览展示 整形 整形手术 [ 招商 [ [ [ 智能家居 轴承 微型轴承 [ [ [ 装饰 装饰设计 装修 家庭装修 室内装修 家居装修 房屋装修 装饰装修 [ 装修设计 厨房装修 居室装修 [ [ 租房 北京租房 二手房 旅游 [ [ 三亚 三亚旅游 [ 张家界 张家界旅游 旅游景点 香港旅游 桂林旅游 桂林 猎头 [ OA 办公自动化 [ [ 欧洲旅游 三峡 三峡旅游 调查 侦探 [ [ [ 市场调查 水泵 真空泵 mcse ccnp ccna 专利 smt 房地产 橡胶 糖尿病 白癜风 [ [ [ [ 制氮机 [ [ [ [ [ 视频墙 [ [ [ [ [ [ [ 包装机械 包装机 液晶电视 [ 液晶显示器 [ IBM显示器 IBM工作站 SONY显示器 显示设备

Q: What is a root directory?

A: See Root directory on wikipedia