]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
Fix example sudoers file
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 5 Nov 2013 15:43:15 +0000 (16:43 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 5 Nov 2013 15:43:15 +0000 (16:43 +0100)
README.md
novaboot

index da15cb73fee7dfcceda9b9b83ee7f2cb43487545..53828897e9f79ad1bf42c7772dd25a16e9a520ac 100644 (file)
--- a/README.md
+++ b/README.md
@@ -256,7 +256,7 @@ to a particular location, e.g. to a TFTP boot server or to the
     _/etc/sudoers_ to allow running the necessary commands without
     asking for password.
 
-        Cmnd_Alias NOVABOOT = /bin/ip a add 10.23.23.1/24 dev eth0, /bin/ip l set dev eth0 up, /usr/sbin/dhcpd -d -cf dhcpd.conf -lf dhcpd.leases -pf dhcpd.pid, /usr/sbin/in.tftpd --foreground --secure -v -v -v --pidfile tftpd.pid *, /usr/bin/touch dhcpd.leases, pkill --pidfile=dhcpd.pid, pkill --pidfile=tftpd.pid
+        Cmnd_Alias NOVABOOT = /bin/ip a add 10.23.23.1/24 dev eth0, /bin/ip l set dev eth0 up, /usr/sbin/dhcpd -d -cf dhcpd.conf -lf dhcpd.leases -pf dhcpd.pid, /usr/sbin/in.tftpd --foreground --secure -v -v -v --pidfile tftpd.pid *, /usr/bin/touch dhcpd.leases, /usr/bin/pkill --pidfile=dhcpd.pid, /usr/bin/pkill --pidfile=tftpd.pid
         your_login ALL=NOPASSWD: NOVABOOT
 
 - \-i, --iso\[=filename\]
index 815d3ca144c43daadb809f145791c64b0831b089..eecbcc34d91316d2c22d7a0873582766fd4f8ac4 100755 (executable)
--- a/novaboot
+++ b/novaboot
@@ -1035,7 +1035,7 @@ uses C<sudo> command to obtain those. You can put the following to
 I</etc/sudoers> to allow running the necessary commands without
 asking for password.
 
- Cmnd_Alias NOVABOOT = /bin/ip a add 10.23.23.1/24 dev eth0, /bin/ip l set dev eth0 up, /usr/sbin/dhcpd -d -cf dhcpd.conf -lf dhcpd.leases -pf dhcpd.pid, /usr/sbin/in.tftpd --foreground --secure -v -v -v --pidfile tftpd.pid *, /usr/bin/touch dhcpd.leases, pkill --pidfile=dhcpd.pid, pkill --pidfile=tftpd.pid
+ Cmnd_Alias NOVABOOT = /bin/ip a add 10.23.23.1/24 dev eth0, /bin/ip l set dev eth0 up, /usr/sbin/dhcpd -d -cf dhcpd.conf -lf dhcpd.leases -pf dhcpd.pid, /usr/sbin/in.tftpd --foreground --secure -v -v -v --pidfile tftpd.pid *, /usr/bin/touch dhcpd.leases, /usr/bin/pkill --pidfile=dhcpd.pid, /usr/bin/pkill --pidfile=tftpd.pid
  your_login ALL=NOPASSWD: NOVABOOT
 
 =item -i, --iso[=filename]