Package: bastille
Version: 1:3.0.9-13
Severity: important

When I run bastille like this
lenny:~# bastille -b

with a config file that has the following option set to YES (default option)
# Q:  Should Bastille disable clear-text r-protocols that use IP-based 
authentication? [Y]
AccountSecurity.protectrhost="Y"

Bastille set the permissions of ssh and scp to 0000
lenny:~# find / -perm 000
/usr/bin/scp
/usr/bin/ssh

This is due to rsh and rcp being an alternative that points to scp and rcp:
lenny:~# ll /usr/bin/rsh
lrwxrwxrwx 1 root root 21 Mar 16  2010 /usr/bin/rsh -> /etc/alternatives/rsh
lenny:~# ll /etc/alternatives/rsh
lrwxrwxrwx 1 root root 12 Mar 16  2010 /etc/alternatives/rsh -> /usr/bin/ssh

The workarround to fix this is to set the value to NO and make sure rsh an rcp 
are not installed manually.

Thanks.

Javier Lafuente.-
Neurofun


-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to