Skip to content

Passwordless cockpit access for development VMs #16758

Answered by martinpitt
mhitza asked this question in Q&A
Discussion options

You must be logged in to vote

It's possible to remove both the https layer (to avoid unknown certificates) and authentication with changing the systemd unit -- systemctl edit cockpit or creating /etc/systemd/system/cockpit.service.d/override.conf some other way:

Service]
ExecStartPre=
ExecStart=
ExecStart=/usr/libexec/cockpit-ws --no-tls --local-session=/usr/bin/cockpit-bridge
User=root

That works, but is admittedly not that easy to discover 😉

Note that this requires to disable SELinux (setenforce 0 or permanently in /etc/selinux/config)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@geoidesic
Comment options

Answer selected by martinpitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants