tazpanel rev 446
Default user is nobody
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 09 20:37:35 2015 +0200 (2015-04-09) |
parents | 08526cd36495 |
children | 5a23f8f56323 |
files | lib/libtazpanel styles/default/header.html |
line diff
1.1 --- a/lib/libtazpanel Wed Apr 08 15:02:55 2015 +0200 1.2 +++ b/lib/libtazpanel Thu Apr 09 20:37:35 2015 +0200 1.3 @@ -7,7 +7,7 @@ 1.4 1.5 . /lib/libtaz.sh 1.6 1.7 -[ "$(id -un)" == "${REMOTE_USER:=$USER}" ] || exec su -c "$(realpath $0) $@" $REMOTE_USER 1.8 +[ "$(id -un)" == "${REMOTE_USER:=nobody}" ] || exec su -s /bin/sh -c "$(realpath $0) $@" $REMOTE_USER 1.9 1.10 1.11 # Get parameters with GET, POST and FILE functions
2.1 --- a/styles/default/header.html Wed Apr 08 15:02:55 2015 +0200 2.2 +++ b/styles/default/header.html Thu Apr 09 20:37:35 2015 +0200 2.3 @@ -56,7 +56,7 @@ 2.4 <li><a data-icon="" href="boot.cgi?log=slim">$(_ 'X session')</a></li> 2.5 </menu> 2.6 </li> 2.7 - <li><a data-icon="daemons" href="boot.cgi?daemons">$(_ 'Manage daemons')</a></li> 2.8 + <li><a data-icon="daemons" href="boot.cgi?daemons" data-root>$(_ 'Manage daemons')</a></li> 2.9 $(for i in menu.d/boot/* ; do [ -f $i ] && sh $i menu $i ; done) 2.10 </menu> 2.11 </li>