community.general icon indicating copy to clipboard operation
community.general copied to clipboard

sudosu: options to pass to su

Open cwchristerw opened this issue 1 month ago • 2 comments

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

  • [X] I agree to follow the Ansible Code of Conduct

cwchristerw avatar Jul 02 '24 20:07 cwchristerw