[nylug-talk] Ubuntu's lack of root.

Mike Allred
Sat Jul 1 02:01:55 EDT 2006


Unless the name of <your-favorite-editor> is <= 3 characters long, in which
case sudoedit is not a shortcut at all.

Long live vim!

/couldn't resist, it's hot out

On 6/30/06, David Rosenstrauch <darose at darose.net> wrote:
>
> mike at jurney.org wrote:
> > Seriously.  You shouldn't ever be root unless you're doing something
> that
> > absolutely requires it.  Doing `sudo vim /etc/hosts` is smarter in every
> > way than doing `ssh root at localhost (log in); vim /etc/hosts; (leave root
> > shell sitting around open in an xterm for the next 3 days in case you
> need
> > to do something else); logout;`.
>
> FYI (if you weren't aware already), "sudoedit <some-file>" is a nice
> shortcut for "sudo <your-favorite-editor> <some-file>".
>
> DR
>
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>


More information about the nylug-talk mailing list