LinuxSir.cn,穿越时空的Linuxsir!

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

Relax BSD login problem :<

[复制链接]
发表于 2005-9-8 14:45:36 | 显示全部楼层 |阅读模式
I've just installed Relax BSD 1.1.
I chose the name "ariuunsetgil"(doesn't followed by a dot) for my machine.And I 'm absolutely sure  that I've set password for root and added a ordinary user's account successfully,but every time when I try to login after reboot,the system login automatically  as root without any prompt for any password,and before the  desktop appears,it gives the following  ERROR  message:
无法查到 ariuunsetgil. 的互联网地址,这将妨碍 GNOME 正常操作。
把 ariuunsetgil. 加到 /etc/hosts 文件中也许能解决这个问题。
I've reconfigured my network applications to set the machine name "ariuunsetgil",but I don't know how to add the name "ariuunsetgil" into /etc/hosts.
Then I've done as the suggestions given in the thread "为何在console启动下,root用户老是自动登录?不能向以前那样,自己输入用户名密码登录的?" ,that is:
diff /etc/ttys /usr/share/examples/etc/ttys
diff /etc/gettytab /usr/share/examples/etc/gettytab

请修改/etc/ttys及/etc/gettytab两个文件,取消自动用root登录的方式。原文件在/usr/share/example

Zen me ban? Thank you for helping me quickly.
发表于 2005-9-8 23:33:14 | 显示全部楼层
1st time , login as root
adduser as a wheel goup member with tcsh
cp -R /root/  /home/%username%
chown -R %username%  /home/%username%
ee /etc/ttys
       ttyv0  "/usr/libexec/getty Pc"         cons25  on  secure
ee /etc/gettytab
       relaxbsd:al=%username%:tc=Pc:
ee /home/%username%/.tcshrc
      #  [ -x /usr/X11R6/bin/startx ] && startx  
      or not
回复 支持 反对

使用道具 举报

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

本版积分规则

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