On 02-02-2015 17:03, fRANz wrote:
> Again,
> it's not a problem hack the rc file but when possible I avoid it, as
> suggested many times in this list;-)
You could use tmux for this. You can start a detached session that in
turn run your command. You can latter attach to it and see what went
wrong. My suggestion is that you call tmux from /etc/rc.local using su
-c to make it run as another user and then give that user permission to
sudo to root for running the tcpdump command. This way you avoid needing
to ssh as root to the machine, and can also filter which commands the
user can run in /etc/sudoers.

Cheers,
Giancarlo Razzolini

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]

Reply via email to