Ack, review only/Thanks HansN

-----Original Message-----
From: Zoran Milinkovic 
Sent: den 5 december 2017 15:04
To: Hans Nordebäck <[email protected]>
Cc: [email protected]; Zoran Milinkovic 
<[email protected]>
Subject: [PATCH 1/1] osaf: add /sbin/shutdown to sudoers file in 00-README.conf 
[#2729]

/sbin/shutdown is added to /etc/sudoers for the configuration steps in 
00-README.conf
---
 00-README.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/00-README.conf b/00-README.conf index 2a7ce96..5de2862 100644
--- a/00-README.conf
+++ b/00-README.conf
@@ -21,7 +21,7 @@ $./configure CPPFLAGS=-DRUNASROOT
 
 0) groupadd -r opensaf
 1) useradd -r -g opensaf -d /usr/local/share/opensaf/ -s /sbin/nologin -c 
"OpenSAF" opensaf
-2) echo "opensaf ALL = NOPASSWD: /sbin/reboot, /sbin/tipc-config, 
/usr/bin/pkill, /usr/bin/killall" >> /etc/sudoers
+2) echo "opensaf ALL = NOPASSWD: /sbin/reboot, /sbin/shutdown, 
+/sbin/tipc-config, /usr/bin/pkill, /usr/bin/killall" >> /etc/sudoers
 3) echo 'Defaults:%opensaf !requiretty' >> /etc/sudoers
 4) echo 'Defaults:opensaf !requiretty' >> /etc/sudoers
 5) chown opensaf /var/lib/opensaf
--
1.9.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to