[CentOS] -bash: /bin/grep: cannot execute binary file

Stephen Harris lists at spuddy.org
Sat Oct 18 20:01:57 UTC 2008


On Sat, Oct 18, 2008 at 12:40:26PM -0700, MHR wrote:
> On Sat, Oct 18, 2008 at 1:03 AM, Semih Gokalp <semihgokalp at gmail.com> wrote:
> >
> > sudo su -
> 
> What are you expecting this command to do?  If you want to 'sudo' a
> command, do that.  If you want to 'su,' do that.  But don't mix the
> two together.

I'm not the OP, but "sudo su -" is a very useful command; it gives the user
full root access to a root shell with root's standard profile, but doesn't
require them to know the root password.

It's not good _security_ practice (not in a long way) but it can be a useful
command.

-- 

rgds
Stephen



More information about the CentOS mailing list