avatar
How disable rlogin/slogin?# Unix - 噫吁兮,危乎高哉
l*t
1
Some people slogin my computer and run some stuff that costs my 90% CPU.
Can I disable other people rlogin/slogin my computer?
OS: SUN SOLARIS.
Thanks.
avatar
w*n
2
install a tcp wrapper will be a easy way.

【在 l***t 的大作中提到】
: Some people slogin my computer and run some stuff that costs my 90% CPU.
: Can I disable other people rlogin/slogin my computer?
: OS: SUN SOLARIS.
: Thanks.

avatar
l*t
3
Can you give some detail.
Thanks

【在 w**n 的大作中提到】
: install a tcp wrapper will be a easy way.
avatar
w*n
4
sure.
install a tcp wrapper does not completely stop your sshd service, but block
certain user/groups. The procedure is
1. go to sunfreeware.com download a tcp-wrapper package "tcp_wrappers-7.6"
put it in your /tmp dir
2. become root go to /tmp, run a "pkgadd -d $pkgname" to install it
3. edit configuration files (/etc/hosts.allow and /etc/hosts.deny)

put "sshd: ALL" in hosts.deny
put "sshd: some.source.you.allow.ssh " in hosts.allow
4. do a pkill -HUP inetd
done

【在 l***t 的大作中提到】
: Can you give some detail.
: Thanks

avatar
m*t
5
close the service in your /etc/services or you NIS Service file.

【在 l***t 的大作中提到】
: Some people slogin my computer and run some stuff that costs my 90% CPU.
: Can I disable other people rlogin/slogin my computer?
: OS: SUN SOLARIS.
: Thanks.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。