Skip to content
Snippets Groups Projects

Koji user with non admin privileges

Merged Marta Vila Fernandes requested to merge kojiuser into master
1 file
+ 17
0
Compare changes
  • Side-by-side
  • Inline
@@ -22,3 +22,20 @@ Look for the `-vnc 127.0.0.1:0` part of the command, to find the display number,
* Select the host you want to reboot and disable it
* Wait for its current tasks to finish
* Reboot the node
## Testing koji using a non admin user
We created the service account `kojiuser` to enable the linux team to do tests as a non koji user admin.
For instance, this is useful when it is needed to test the output of a koji command that was restricted only to admin users.
```
[kojiuser@mvf-alma9 ~]$ koji -p kojitest list-users --perm=admin
Usage: koji list-users [options]
(Specify the --help global option for a list of other help options)
koji: error: This action requires admin privileges
```
The password of the account is available in `tbag show kojiuser --hg lsb`.
\ No newline at end of file
Loading