When using `sudo --login --user USERNAME` with Ubuntu Focal currently, it will correctly operate but it will also throw the following error before continuing with the logon process:
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
A full run of this was tested in a Focal LXD container after dropping to a root shell to reproduce (arstotzka is the host system, focal-test is the test container):
teward@arstotzka:~$ lxc shell focal-test
root@focal-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.
When using `sudo --login --user USERNAME` with Ubuntu Focal currently, it will correctly operate but it will also throw the following error before continuing with the logon process:
sudo: setrlimit( RLIMIT_ CORE): Operation not permitted
A full run of this was tested in a Focal LXD container after dropping to a root shell to reproduce (arstotzka is the host system, focal-test is the test container):
teward@arstotzka:~$ lxc shell focal-test RLIMIT_ CORE): Operation not permitted
root@focal-test:~# sudo --login --user ubuntu
sudo: setrlimit(
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ focal-test: ~$
This appears to be similar to this issue identified on RedHat's tracker: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1773148
ProblemType: Bug ature: Ubuntu 4.15.0- 72.81-generic 4.15.18 256color d/90-cloud- init-users: parsed OK d/README: parsed OK
DistroRelease: Ubuntu 20.04
Package: sudo 1.8.29-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-72-generic x86_64
ApportVersion: 2.20.11-0ubuntu14
Architecture: amd64
Date: Thu Dec 19 17:16:31 2019
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: sudo
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
/etc/sudoers: parsed OK
/etc/sudoers.
/etc/sudoers.