root@sudo-sru-lp1857036-test:~# sudo --login --user ubuntu
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@sudo-sru-lp1857036-test:~$
versus:
root@sudo-sru-lp1857036-test:~# sudo --login --user ubuntu
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
Alright, I verified that it works:
root@sudo- sru-lp1857036- test:~# sudo --login --user ubuntu RLIMIT_ CORE): Operation not permitted
sudo: setrlimit(
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ sudo-sru- lp1857036- test:~$
versus:
root@sudo- sru-lp1857036- test:~# sudo --login --user ubuntu
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ sudo-sru- lp1857036- test:~$