LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 912|回复: 4

gentoo2005.1 stage3安装的系统

[复制链接]
发表于 2005-9-20 22:13:32 | 显示全部楼层 |阅读模式
我从stage3安装的gentoo系统
可是我用useradd libertine -m -G users,wheel,audio -s /bin/bash
建立的用户不能ls /
说是什么ls:.:permission denied
真是郁闷
还有就是我的系统启动的时候说我you should stop using /etc/dnsdomainname and use /etc/conf.d/domainname
我再系统配置的时候使用的
echo Gentooer > /etc/hostname
echo MyHome >/etc/dnsdomainname
rc-update add domainname default
要怎么设置才可以呢
郁闷了
尤其似那个权限的问题,让人受不了
发表于 2005-9-20 22:33:03 | 显示全部楼层
以上问题的解决方法 :
1.chmod a+r,a+x /
2.nano -w /etc/conf.d/dnsdomainname
在引号内填入就可以了
libertine兄,基本问题,看看handbook都知道了
呵呵
回复 支持 反对

使用道具 举报

发表于 2005-9-22 10:55:26 | 显示全部楼层
I think it's dangerous to do like this

#chmod a+r,a+x /

while you should create a user account like this:

#useradd libertine -m -g users -G wheel,audio -s /bin/bash

just read the manpage of useradd, create a new account according to its rules.

good luck
回复 支持 反对

使用道具 举报

发表于 2005-9-22 12:10:54 | 显示全部楼层
在使用stage3的时候,你有没有认真的看过安装文档?我觉得你的权限的问题是没有看到这个警告:

Warning: The stage3-athlon-xp-2005.1.tar.bz2, stage3-pentium3-2005.1.tar.bz2 and stage3-pentium4-2005.1.tar.bz2 files have a serious permission error. After extracting any of these, run chmod 0755 /mnt/gentoo to fix the error before continuing with the installation.
回复 支持 反对

使用道具 举报

发表于 2005-9-22 12:29:23 | 显示全部楼层
domainname那个其实是个奇怪的东西……只要在/etc/conf.d/hostname里加上“hostname=×××”就可以了……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表