Reputation
Next privilege 125 Rep.
Vote down
Badges
2
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 25 votes cast
Mar
27
awarded  Autobiographer
Mar
26
comment How can I execute a bash function with sudo?
Hmm, indeed: stackoverflow.com/questions/9448920/… (which states it cannot be done). Than it is probably for the best to just add those functions to root's rcfiles.
Mar
26
comment How can I execute a bash function with sudo?
@pradeepchhetri what if you use sudo -E bash -c 'your_function'?
Mar
26
comment How can I execute a bash function with sudo?
@pradeepchhetri You may want to give more information, such as what you are precisely trying, which shell you use, and which OS you use.
Mar
23
comment Give root password for maintenance
@womble you can easily multiply that 10 by 3, it already has this in 80's BSDs.
Jan
3
awarded  Supporter