← Back to Users
DarwinSurvivor's activity in the archive.
Not if you edit the sudoers file (visudo) and only give them permission to run certain commands as root.
If visudo is "bitching" at you, you obviously don't know enough about the sudoers file to be editing it manually.
su simply switches the user, sudo -i actually starts up a new shell (as if you logged in) and parses the .input, etc files and set up the environment variables.
Not if you edit the sudoers file (visudo) and only give them permission to run certain commands as root.
If visudo is "bitching" at you, you obviously don't know enough about the sudoers file to be editing it manually.
su simply switches the user, sudo -i actually starts up a new shell (as if you logged in) and parses the .input, etc files and set up the environment variables.