Gentoo Archives: gentoo-hardened

From: Justin Heesemann <jh@××××××.org>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] selinux: rsync to remote selinux protected server..
Date: Sun, 25 Mar 2007 16:21:26
Message-Id: 4606A0A3.6070701@ionium.org
1 since the default role for root is staff_t, who's not allowed (almost)
2 anything..
3 i wonder how to manage to backup stuff to another server.
4
5 localhost home # rsync --dry-run jh root@backup-server:/home/jh
6 Password:
7 bash: /root/.bashrc: Permission denied
8 skipping directory jh
9 rsync: ERROR: cannot stat destination "/home/jh": Permission denied (13)
10 rsync error: errors selecting input/output files, dirs (code 3) at
11 main.c(507) [receiver=2.6.9]
12 rsync: connection unexpectedly closed (8 bytes received so far) [sender]
13 rsync error: error in rsync protocol data stream (code 12) at io.c(453)
14 [sender=2.6.9]
15
16
17 i'm open for any ideas..
18 both "localhost" and "backup-server" are protected by selinux.
19
20
21 --
22 Best Regards,
23 Justin
24 --
25 gentoo-hardened@g.o mailing list

Replies