[clug-talk] How to use sudo to get a root shell?

2015-03-17 Thread Joe S
I am wondering if someone can tell me the right way to get a root shell through sudo. I tried the following commands: sudo su - sudo -i Then tried the following command and got this warning: lsof|grep openvpn lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/joe/.gvfs Output inf

Re: [clug-talk] How to use sudo to get a root shell?

2015-03-17 Thread Gustin Johnson
Why not just use sudo to run lsof? sudo lsof |grep openvpn If you are looking for listening ports, then: sudo lsof -i |grep openvpn On Tue, Mar 17, 2015 at 11:39 AM, Joe S wrote: > I am wondering if someone can tell me the right way to get a root shell > through sudo. I tried the following c

Re: [clug-talk] How to use sudo to get a root shell?

2015-03-17 Thread Gustin Johnson
That error you posted can actually be ignored. Generally stackexchange has high quality answers. http://unix.stackexchange.com/questions/171519/lsof-warning-cant-stat-fuse-gvfsd-fuse-file-system As for the "right" way, both of the options you listed will work pretty much as expected. sudo -i a

Re: [clug-talk] meeting ? April

2015-03-17 Thread Michael John Walters
Hello All, I am interested in coming to the April 1 meeting if anyone has a topic to discuss. Regards, Michael On Mon, 2015-03-16 at 21:36 -0600, Mel Walters wrote: > Any one have a talk or want to meet up April 1 ? > Kin had told me he pre booked Room 426 for us, do we still want to meet? > >