l***t 发帖数: 114 | 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. |
w**n 发帖数: 88 | 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.
|
l***t 发帖数: 114 | 3 Can you give some detail.
Thanks
【在 w**n 的大作中提到】 : install a tcp wrapper will be a easy way.
|
w**n 发帖数: 88 | 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
|
m*******t 发帖数: 40 | 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.
|