[PLUG] Disconnect eth1 from the command line without sudo

wes plug at the-wes.com
Thu Nov 20 23:37:45 UTC 2014


>
> The suggestion to use the visudo command sounds like the easiest
> solution, except that your template doesn't work for me and I don't know
> how to fix it. That is, I pasted it at the end of the sudoers file. and
> changed 'dafr' (which I assume is your username) to 'jjj,' wrote out
> the file and exited nano (Ubuntu uses nano instead of vi). Then I gave
> the command 'ifconfig eth0 up' as jjj, and got the usual permission
> denied message.
>
> Any ideas what I have done wrong?
>
>
you still have to do sudo ifconfig blah blah, the difference is that it
should not ask for a password.

-wes



More information about the PLUG mailing list