General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Feb 19, 2018 4:18 pm

All times are UTC




Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Author Message
PostPosted: Fri Feb 09, 2018 8:06 pm 
Offline

Joined: Tue Apr 02, 2013 11:50 am
Posts: 27
philippetev wrote:
Guys, do you know any way to start the processes as other user? Entware's rc.func-based init script subsystem doesn't seems to support starting the processes as other user than root and you know this is a potential security hole.

Use "PREARGS" and sudo e.g.:
Code:
PREARGS="sudo -u nobody"


Top
 Profile  
 
PostPosted: Fri Feb 09, 2018 10:47 pm 
Offline

Joined: Tue Apr 17, 2012 7:45 am
Posts: 77
dexhain wrote:
philippetev wrote:
Guys, do you know any way to start the processes as other user? Entware's rc.func-based init script subsystem doesn't seems to support starting the processes as other user than root and you know this is a potential security hole.

Use "PREARGS" and sudo e.g.:
Code:
PREARGS="sudo -u nobody"

Works like a charm! Thanks!

_________________
ZyXEL NSA-310 FW 4.70(AFK.1) MetaRepository + Fonz Fun Plug 0.7zypkg004


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

All times are UTC


Who is online

Users browsing this forum: billbillw, Bing [Bot], Darkyputz, Majestic-12 [Bot], MrDini and 94 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group