become method - pbrun and su

246 views
Skip to first unread message

Veda K

unread,
Jul 20, 2016, 4:23:10 PM7/20/16
to Ansible Project
Hi,

On our servers we usually do pbrun su - <app user> to switch to a privileged application user. These application users have no password set.

But Ansible's become_method only supports any one method either pbrun or su or sudo.

Sudo is not an option as once servers are in production we loose root/sudo access completely.

Is there any other way that I can use pbrun su ? Did anyone come across this scenario ?

Regards,
Veda 

Kai Stian Olstad

unread,
Jul 21, 2016, 3:10:30 AM7/21/16
to ansible...@googlegroups.com
On 20.07.2016 22:23, Veda K wrote:
> Is there any other way that I can use pbrun su ? Did anyone come across
> this scenario ?

This has been asked and answered many times, search and you'll find

https://groups.google.com/forum/#!searchin/ansible-project/sudo$20su
https://groups.google.com/forum/#!searchin/ansible-project/su$20pbrun

https://groups.google.com/d/msg/ansible-project/v7_ShNALPC8/JLSTcBp6DQAJ

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages