Operating System - HP-UX
1829576 Members
2790 Online
109992 Solutions
New Discussion

restricting rusers command

 
J_115
Occasional Advisor

restricting rusers command

Hi

I need to remove the use of the command rusers , I realise I can delete the binary or change the permissions. I cant find any way to do it through /etc/services or /etc/inetd.conf
any suggestions appreciated

thanks
1 REPLY 1
G. Vrijhoeven
Honored Contributor

Re: restricting rusers command

Hi,

You can disable the service by hashing out the line in /etc/inetd.conf ( #) and reconfig inetd ( # inetd -c) but it is defauld disabled.
The command is /usr/bin/rusers and you could chmod 400 the command so it is not executable anymore.

Gideon