FS#22599 - [smbnetfs] drop sudo dependency
Attached to Project:
Community Packages
Opened by Sébastien Luttringer (seblu) - Tuesday, 25 January 2011, 14:10 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 26 January 2011, 10:20 GMT
Opened by Sébastien Luttringer (seblu) - Tuesday, 25 January 2011, 14:10 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 26 January 2011, 10:20 GMT
|
Details
smbnetfs use sudo in its init script to change the current
user running smbnetfs.
It should be better to use su (a coretutils program) to do that. Sudo is more user oriented program, and su script oriented. Sudo is really heavier than su. It allow more complicated auth pattern, which is not needed here. Other boot script like (postgresql, svnserver,...) use su and not sudo to change user. I attach a patch. |
This task depends upon
Comment by
Jelle van der Waa (jelly) - Tuesday,
25 January 2011, 17:11 GMT
CAn't really see a patch here
Comment by
Sébastien Luttringer (seblu) -
Tuesday, 25 January 2011, 18:32 GMT
Sorry
patch
(0.5 KiB)