The requiretty option bit me on some of the others I was backing up, so it was already commented out of /etc/sudoers.
I get nothing in /var/log/messages, but this in /var/log/secure: Oct 2 16:03:19 fs sshd[11402]: Accepted publickey for backuppc from 10.1.1.66 port 37832 ssh2 Oct 2 16:03:20 fs sudo: backuppc : TTY=unknown ; PWD=/home/backuppc ; USER=root ; COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --times --block-size=2048 --recursive -v --one-file-system --ignore-times . /boot/ At 03:24 PM 10/2/2007, Les Stott wrote: >John Medway, Rim Semiconductors wrote: > > OK, so it boils down to one machine on which this happens. > > All the others are just fine, with what should be the same > > sshd and sudo config, but there are different versions of > > the rsync packages, so I tried updating that. > > > > Still the infinite hang, just trying to back up /boot and > > /root and /etc as a small test. > > > > Ideas on what I should check next? > > > > >you should also check your sudoers file for a "requiretty" option. > >Later versions had this enabled and it means that to sudo you need to >come from a valid tty. > >if that is happening usually sudo logs errors into /var/log/messages. > >If you have requiretty in the sudoers file, remove it and try the backup. > >Hope that helps. > >Regards, > >Les > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >BackupPC-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/backuppc-users >http://backuppc.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
