The main difference is whether you want to keep being the original user or become root. Sudo keeps yourself when it can, su changes when it can. The difference affects e.g. $PATH, which sudo leaves alone and su resets to root's value.

Arnt
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to