cockpit lxc

lawman

New Member
Dec 18, 2024
2
0
1
I'm trying to setup a file share server Samba or NFS so decided to try cockpit as an easy solution using the helper scripts.

what is the user/pass as I can't seem to get in.

went to console and changed root passwd but its still not letting me enter via the web interface.

thanks
 
If your lxc cockpit has vmid 100 do:
root@pve:# pct enter 100
Than change your access rights as needed on.
 
i tried this and it puts me into the cockpit console.

then i typed 'passwd' and it let me change the password for root

in cockpit web ui I entered user: root and pass: <password> but it still won't login on web ui?

I had previously changed the password by going into cockpit lxc console, so this is the same effectively.

what could be the problem?

thanks
 
Edit: Yes, the user should be created in the Cockpit LXC container.

I have created a user in the node shell like this:
useradd -m Johnny
passwd Johnny

But, I am still not able to login on the Cockpit web interface. Do I need to create the user in the Cockpit LXC, and not in the Datacenter node?
 
Last edited: