update patch to reflect path change in source tree
[debian/sudo] / debian / patches / paths-in-samples.diff
1 --- /home/bdale/Desktop/sudo-1.7.2p1/doc/sample.sudoers 2008-10-03 13:55:57.000000000 -0600
2 +++ sudo/doc/sample.sudoers     2009-11-20 07:31:58.000000000 -0700
3 @@ -46,8 +46,8 @@
4  # Cmnd alias specification
5  ##
6  Cmnd_Alias     DUMPS = /usr/sbin/dump, /usr/sbin/rdump, /usr/sbin/restore, \
7 -                       /usr/sbin/rrestore, /usr/bin/mt
8 -Cmnd_Alias     KILL = /usr/bin/kill
9 +                       /usr/sbin/rrestore, /bin/mt
10 +Cmnd_Alias     KILL = /bin/kill
11  Cmnd_Alias     PRINTING = /usr/sbin/lpc, /usr/bin/lprm
12  Cmnd_Alias     SHUTDOWN = /usr/sbin/shutdown
13  Cmnd_Alias     HALT = /usr/sbin/halt
14 @@ -85,7 +85,7 @@
15                 sudoedit /etc/printcap, /usr/oper/bin/
16  
17  # joe may su only to operator
18 -joe            ALL = /usr/bin/su operator
19 +joe            ALL = /bin/su operator
20  
21  # pete may change passwords for anyone but root on the hp snakes
22  pete           HPPA = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd root
23 @@ -99,13 +99,13 @@
24  
25  # users in the secretaries netgroup need to help manage the printers
26  # as well as add and remove users
27 -+secretaries   ALL = PRINTING, /usr/bin/adduser, /usr/bin/rmuser
28 ++secretaries   ALL = PRINTING, /usr/sbin/adduser, /usr/bin/rmuser
29  
30  # fred can run commands as oracle or sybase without a password
31  fred           ALL = (DB) NOPASSWD: ALL
32  
33  # on the alphas, john may su to anyone but root and flags are not allowed
34 -john           ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root*
35 +john           ALPHA = /bin/su [!-]*, !/bin/su *root*
36  
37  # jen can run anything on all machines except the ones
38  # in the "SERVERS" Host_Alias