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

Re: 无法在终端登录怎么办?



Li Weichen wrote:

检查  /etc/securetty 文件,看是否有如下内容:

tty1
tty2
tty3
tty4
tty5
tty6

没有加上试一下.


SECURETTY(5)                                        Linux Programmer's
Manual                                        SECURETTY(5)

NAME
       securetty - file which lists ttys from which root can log in

DESCRIPTION
       The  file /etc/securetty is used by (some versions of) login(1).
 The file contains the device names of tty lines (one per
       line, without leading /dev/) on which root is allowed to login.
See login.defs(5) if you use the shadow suite.



> 大家好,
> 
>     我的机器上装的是debian sarge 3.1,root帐户有很多人在使用。今天我突然发现
> 终端不能登陆了,只能ssh方式登录系统。如果在终端下登陆的话,输入用户名回车之
> 后,提示:
> 
> Usage:/bin/login <username>
> 
>     不知道是谁删除了什么东西,请大家帮忙!
> 
>     祝:顺利!
> 
> 
>                                 李伟辰


-- 
肖盛文 (Faris Xiao)
Email:atzlinux@126.com




Reply to: