Is there any difference between
‘su’ and ‘login root’ ?
What scripts su execute ?
Is there any difference between
‘su’ and ‘login root’ ?
What scripts su execute ?
su changes your effective user ID.
su keeps the env of the previous user, “su -” would make a valid full login
The doc on su is I think rather clear on this.