From: Michal Sojka Date: Tue, 5 Nov 2013 15:43:15 +0000 (+0100) Subject: Fix example sudoers file X-Git-Tag: 20140513~63 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/b6aed3dcf9d1e2a19eaacfe938fbfa63af5623a2 Fix example sudoers file --- diff --git a/README.md b/README.md index da15cb7..5382889 100644 --- 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\] diff --git a/novaboot b/novaboot index 815d3ca..eecbcc3 100755 --- a/novaboot +++ b/novaboot @@ -1035,7 +1035,7 @@ uses C command to obtain those. You can put the following to I 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]