How to su to a user in Linux with the bin/false or nologin shell.
This is just working with a specific parameter.
Solution
su - nagios --shell=/bin/bash
How to su to a user in Linux with the bin/false or nologin shell.
This is just working with a specific parameter.
su - nagios --shell=/bin/bash