Hello List, I'm trying to backup a FC6 host, but it's not working. At first backuppc couldn't even connect, and eventually I narrowed that problem down to a new parameter in the sudoers file on the FC6 host:
Defaults requiretty I added a new line underneath: Defaults:backuppc !requiretty That effectively turned off the tty requirement for the backuppc user, allowing it to connect and start up rsync. However, after initial connection, nothing gets transferred to the backuppc host. The error log shows this: Running: /usr/bin/ssh -C -q -x -l backuppc krs sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --times --block-size=2048 --recursive --checksum-seed=32761 --one-file-system --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/sys --ignore-times . /home/ksandhu/ Xfer PIDs are now 15219 Got remote protocol 1969582928 Fatal error (bad version): Pseudo-terminal will not be allocated because stdin is not a terminal. I've tried it with and without the "-t" switch to ssh - neither have worked. I've also tried commenting the "Defaults requiretty" line in sudoers, but the result is the same as turning it off just for the backuppc user. Any ideas? Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.18-1.2849.fc6 i686 GNU/Linux 11:14:00 up 2 days, 3:08, 2 users, load average: 1.58, 1.17, 0.76 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
