[mythtv-users] OT: SATA errors
Brian Wood
beww at beww.org
Thu Jul 9 13:09:59 UTC 2009
On Thursday 09 July 2009 06:59:11 Matt Mossholder wrote:
> On Thu, Jul 9, 2009 at 8:45 AM, Glenn Harris
> <gharris+list+mythtv at eklo.com<gharris%2Blist%2Bmythtv at eklo.com>
>
> > wrote:
> >
> > If you're going to be doing a lot of things as 'root', you can just use:
> >
> > sudo su -
> >
> > That will prompt you for your normal sudo password, and give you a
> > full root shell. Still no password for root, and all your commands
> > still get logged.
> > Everyone is happy.
> >
> > Be careful still applies.
> >
> > Good luck!
> > --Glenn
>
> Ack! No! :)
>
> This is the correct method to get a root shell using sudo:
>
> sudo -i
Won't that just run as an initial logon for the user running the command? I
thought -i meant "simiulate initial logon".
A "real" Unix system might well have a different shell for the root user than
for the user running the command. Certainly the environment, especially the
path, will be different.
Will this give you a different prompt when running as root? That's a nice
reminder at every new line to be careful.
This is not the place to discuss the Ubuntu philosophy, which I happen to
disagree with. In close to three decades of Unix use I have never caused
myself a problem by running as root.
The Ubuntu way may be a good idea for new Unix users, but it's a PIA as far as
I'm concerned. Using sudo all the time is an option, but it should be my
choice, not the distro makers decision.
--
Brian Wood
beww at beww.org
More information about the mythtv-users
mailing list