I would like to able to pass options to su command to be able set shell in su command. I wasn't able to use sudo to set shell to /bin/bash because it's not under /usr/.
I would use it to be able to issue...
sudo su -s /bin/bash lightdm
I had to give sysadmin group permission to use sudo -u lightdm from my FreeIPA. I have had issues with doing this command in issue #8574.
Summary
I would like to able to pass options to su command to be able set shell in su command. I wasn't able to use sudo to set shell to /bin/bash because it's not under /usr/.
I would use it to be able to issue...
sudo su -s /bin/bash lightdm
I had to give sysadmin group permission to use
sudo -u lightdm
from my FreeIPA. I have had issues with doing this command in issue #8574.Issue Type
Feature Idea
Component Name
sudosu
Additional Information
Code of Conduct