Re: [nlug] su vs sudo, was Distro

2010-06-18 Thread Perkins, Jerry
Sabuj Pattanayek wrote: IIUC, sudo is intended to provide limited and temporary root access to specific functions that are configurable by the actual root account, sudo can be setup to run any program as any user not just as root. while su is not configurable and provides 100% root

Re: [nlug] su vs sudo, was Distro

2010-06-17 Thread Steven S. Critchfield
- Original Message - On 06/16/2010 07:22 PM, Evan Brown wrote: please don't sudo su - please use sudo -s -- U, now we have a thread going :) http://ubuntuforums.org/archive/index.php/t-616026.html Would you mind expounding as to why?? su -s would get you the same

[nlug] su vs sudo, was Distro

2010-06-16 Thread JMJ
On Wed, Jun 16, 2010 at 5:01 PM, JMJ roadr...@gmail.com wrote: Hmmm... perhaps part of the reason that I don't see the point in how Ubuntu has implemented root/su/sudo/etc. is that I assume that sudo provides the same functionality as su.  I'll be researching that now.  :-) OK, I think I'm

Re: [nlug] su vs sudo, was Distro

2010-06-16 Thread Howard White
On 06/16/2010 05:20 PM, JMJ wrote: On Wed, Jun 16, 2010 at 5:01 PM, JMJroadr...@gmail.com wrote: Hmmm... perhaps part of the reason that I don't see the point in how Ubuntu has implemented root/su/sudo/etc. is that I assume that sudo provides the same functionality as su. I'll be researching

Re: [nlug] su vs sudo, was Distro

2010-06-16 Thread Evan Brown
Don't fight the force, Luke. One of those temporary root accesses is: sudo su - which essentially logs you in as root without having an actual root account to go about rooting. Now, the knowledgeable amongst us may point out that this obscurity is not adding any major security to your

Re: [nlug] su vs sudo, was Distro

2010-06-16 Thread Howard White
On 06/16/2010 07:22 PM, Evan Brown wrote: please don't sudo su - please use sudo -s -- U, now we have a thread going :) http://ubuntuforums.org/archive/index.php/t-616026.html Would you mind expounding as to why?? Howard -- You received this message because you are subscribed to

Re: [nlug] su vs sudo, was Distro

2010-06-16 Thread Evan Brown
Would you mind expounding as to why?? tested on my machine, with ps results cut down of course... sudo su - root 8074 1.3 0.5 4064 1508 pts/0S20:26 0:00 su - root 8080 1.0 0.6 4204 1768 pts/0S20:26 0:00 -su sudo -s root 8029 8.0 1.2 5616