由 thunderbird 在 06-12-2003 00:06 发表:
有关LINUX里一般用户进入服务器问题
怎么设置才可以让一般的用户都无限进入服务器,就是用SSHD连接服务器都进不去,只有指定的一个用户可以用SSHD连接进入服务器,并SU成为ROOT管理和维护服务器??
这个比较安全、我看一些国外的服务器都是这样设置的,但就是不知道详细的设置方法,请各位前辈们指教,谢谢了…………………
由 quanliking 在 06-12-2003 00:20 发表:
vi /etc/passwd
modify xxxxxx:bin/bash xxxxxxxx:/bin/false
There are two distinct opinions:
One would say, "The love of money is the root of all evil."
The other, "The lack of money is the root of all evil."
Which one i should take, that is the question.
由 thunderbird 在 06-12-2003 00:36 发表:
请教哥哥,详细是什么意思? 谢谢了……………
由 quanliking 在 06-12-2003 22:48 发表:
哦,试一下不就知道了吗?
把某个用户的最后一个字段的 /bin/bash 改成 /bin/false ,这样这个用户用 ssh 就没法登陆了。
这个是我所知道的方法,估计应该有其它方法。
There are two distinct opinions:
One would say, "The love of money is the root of all evil."
The other, "The lack of money is the root of all evil."
Which one i should take, that is the question.
由 zz_fish 在 07-03-2003 10:17 发表:
在 /etc/ssh/sshd.config 里面有个选项deny user 或者 deny group.
刚在 http://chinaitlab.com/www/special/linux19.asp 看的.
AMD AthlonXP 2000+
Geforce4 MX 440
Cheetah机械鼠标(专门为linux买的,巨难用)
/hda1 WindowsXP Pro
/hda7 RH 9.0
由 Snoopy 在 07-03-2003 10:40 发表:
> quote:
>
> * * *
>
> 最初由 quanliking 发表
>
>