[sudo-users] Re: sudo/scp question

Todd C. Miller Todd.Miller at courtesan.com
Tue Jun 8 15:16:50 EDT 2004

I believe you need two entries, like so:

Cmnd_Alias XFER = /usr/bin/scp -p /usr/local/farm/common/output/to_cust/* \
    lenny\:/usr/local/farm/common/output/to_cust, /usr/bin/scp -p \
    /usr/local/farm/common/output/to_cust/* \

The reason just adding a '*' to the end doesn't work is that a slash
('/') is not matched by the '*'.

 - todd

More information about the sudo-users mailing list