1

I was looking at this answer and came across this:

  1. sudo -i (to get a root shell, sudo gedit is not recommended)
  2. gedit /etc/default/grub

I was wondering why sudo gedit is not recommended. In fact, it seems that it's better than the sudo -i method because a forgetful user may inadvertently run an undesired command as root, which can have a much larger consequence than the other way around.

Dessa Simpson
  • 687
  • 7
  • 19

0 Answers0