[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

找不到档案时该怎么办



各位好,我是最近才用Debian2.2的新手,
因为我是用拨接上网的所以没有更新到2.2r2。

我的问题是在Debian下有些设定档的位置好像与其他linux版本不太一样,
例如: /etc/rc.d/rc.inet1 及useradd指令的/etc/default/useradd 这个预设档
我要找rc.inet1是想让系统自动加入
ifconfig lo 127.0.0.1
route add 127.0.0.1 lo
不过我用find / -name 'rc.inet1' 或 find / -name 'rc.inet*'都找不到,
所以我只好自己加一个档案给系统一开机就执行

而找/etc/default/useradd这个预设档,
是因为我想让useradd也可以与adduser一样用/etc/adduser.conf
可以让我修改他的预设group,但我找不到他,
所以我只好alias useradd='adduser',
而我man useradd也只说了他的预设档在/etc/default/useradd
那我要手动写一份的话我该如何取得范本呢?

我是边看Debian GNU/Linux: Guide to Installation and Usage
(感谢作者那些将它翻成中文的人)和其他的书籍来做的,
但网站上的那本并没有写到这一部份而其他书籍又都是说
Slackware 或RedHat为主,所以当Debian下找不到书上所找的
档案,而man 或find也找不到时我可以怎么做呢?
可不可以给我个建议?
或者告诉我哪里可以找到这些讯息?

先感谢你看完这么长的东西。

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: