Changeset 803
- Timestamp:
- 09/06/08 15:14:53 (3 months ago)
- Location:
- ares/trunk
- Files:
-
- 3 modified
-
ares.py (modified) (2 diffs)
-
debian/install (modified) (1 diff)
-
tests/TestAres.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ares/trunk/ares.py
r801 r803 65 65 self.havp = _Havp(self) 66 66 self.apt = _Apt(self) 67 self.sshd = _Sshd(self) 67 68 self.postconfig = _Postconfig(self) 68 69 … … 584 585 585 586 # 587 # Do not allow password longins 588 # 589 class _Sshd: 590 591 def __init__(self, ares): 592 self._ares = ares 593 self._cfg = '/files/etc/ssh/sshd_config' 594 595 def setup(self): 596 cfg = self._cfg 597 aug = self._ares.aug 598 599 aug.set(cfg + '/PasswordAuthentication', 'no') 600 601 # 586 602 # Postconfig 587 603 # -
ares/trunk/debian/install
r777 r803 1 1 ares-config usr/sbin 2 2 monit etc/ 3 authorized_keys usr/share/ares3 authorized_keys root/.ssh/ -
ares/trunk/tests/TestAres.py
r801 r803 15 15 def test_ldap(self): 16 16 ares = Ares(test=True) 17 ares.ldap.setup() 18 ares.squid.setup() 19 ares.hostname.setup() 20 ares.dnsmasq.setup() 21 ares.hosts.setup() 22 ares.monit.setup() 23 ares.ssl.setup() 24 ares.squirrel.setup() 25 ares.amavis.setup() 26 ares.spamassassin.setup() 27 ares.fetchmail.setup() 28 ares.samba.setup() 29 ares.nfs.setup() 30 ares.havp.setup() 31 ares.apt.setup() 17 # ares.ldap.setup() 18 # ares.squid.setup() 19 # ares.hostname.setup() 20 # ares.dnsmasq.setup() 21 # ares.hosts.setup() 22 # ares.monit.setup() 23 # ares.ssl.setup() 24 # ares.squirrel.setup() 25 # ares.amavis.setup() 26 # ares.spamassassin.setup() 27 # ares.fetchmail.setup() 28 # ares.samba.setup() 29 # ares.nfs.setup() 30 # ares.havp.setup() 31 # ares.apt.setup() 32 ares.sshd.setup() 32 33 ares.aug.save() 33 34 ares.postconfig.setup()
