Sudo allows non-root to momentarily elevate to root status and ones the administrative task is complete the non-root users status is returned t as a (normal user)
On the other hand su directly elevates the "normal user" to root and can only we voided upon the normal user using the ^d command ctrl + d command to drop back into a non root environment.
IMHO new Linux users should alway opt for not enabling the root(superuser) account and instead opt for using the sudo option as it is a much Moore secure method for changing super user privileges
On the other hand su directly elevates the "normal user" to root and can only we voided upon the normal user using the ^d command ctrl + d command to drop back into a non root environment.
IMHO new Linux users should alway opt for not enabling the root(superuser) account and instead opt for using the sudo option as it is a much Moore secure method for changing super user privileges
Statistics: Posted by friendlysalmon88 — 2024-07-04 03:33