2 ms·
sudo -i specifically invokes login shell: > Run the shell specified by the target user's password database entry as a login shell. Contrast to -s option: > R
by zokier 3y ago
sudo -i specifically invokes login shell:
> Run the shell specified by the target user's password database entry as a login shell.
Contrast to -s option:
> Run the shell specified by the SHELL environment variable if it is set or the shell specified by the invoking user's password database entry