commit | 524487728e85388c73ececae3f2eb272321cffc7 | [log] [tgz] |
---|---|---|
author | Marek Tamaskovic <mtamasko@redhat.com> | Wed Jul 28 16:54:50 2021 +0200 |
committer | Marek Tamaskovic <mtamasko@redhat.com> | Wed Jul 28 17:03:52 2021 +0200 |
tree | 6c46b6273aa3d839b3d82859d38284a2f8190052 | |
parent | 13f02e8b7607e89096f719b1fa83734bf3332ec6 [diff] |
Fix opening shell as user 'stack' The usage of sudo with su is not recommended. It results in incosnistent environment variables. Instead use just sudo with appropriate arguments. The argument '-u stack' specifies that the sudo will execute as user 'stack'. The last argument '-i' will launch an interactive shell. Closes-Bug: #1938148 Change-Id: I42387660480377cdf9a0b04f190e7e1f21fb354f