Displaying 1 result from an estimated 1 matches for "wbwpkx".
Did you mean:
bpkx
2009 Nov 24
1
Copiying /etc/shadow with sudo and rsync
...he non privilegd user can
not read it, so I can use a command like this:
rsync --rsync-path='sudo rsync' --rsh='/usr/bin/ssh -x' --archive user at localhost:/etc/shadow user at server2:/etc/shadow
but I get this error :
rsync: mkstemp "/home/user/user at server2:/etc/.shadow.wBWPkX" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(1146)
does somebody know a workaround, or an alternative (and secure) solution?
Regards
Gerard