Grigoriy, On Sun, Apr 01, 2007 at 06:04:08PM +0400, Grigoriy Strokin wrote: > 3) Later I used sudo, but now I know it is not a good idea > to use su/sudo to root as a non-privileged user. > So, what is the right way to get admin's privileges while working > locally in X Window as grg? > ssh r_grg@localhost ? > What about using passwords? I'd recommend to not make an unprivileged user to privileged user switch (if you are concerned about security). From this point of view ssh r_grg@localhost is no better than su - (although both are better than sudo). As for me, when I need root powers on my PC, I'm switching to another console (e.g. Ctrl-Alt-F2 in X) and login as root. -- (GM)
This archive was generated by hypermail 2.1.3 : Sun Apr 01 2007 - 12:12:49 PDT