English
« Back to projectatomic.io
Ask Your Question
0

Cockpit limited rights

asked 2015-01-21 18:14:23 +0000

repta gravatar image

Hi there,

i'm using the Fedora image and set a password via user-data. But when i open cockpit, a htaccess prompt appears where the creds (user fedora + pwd) arent accepted. After this, when i skip the prompt with cancel, the "regular" cockpit login shows up. There the login works, but with limited rights, ie. im not able to display the container section. Where did i miss the option to enable full access to cockpit? I think, I didnt set the root pw not at all?

Thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-21 22:08:28 +0000

I believe cockpit roles are based on system groups, so right now you'd want to add an entry in /etc/group for the fedora user.

But, /etc/group may not have the wheel group listed in an Atomic host as they get picked up from /usr/lib/group. So check /usr/lib/group to see what the entry should read, add that to /etc/group with the fedora user, and then try logging into cockpit.

At least, that's what I did to get things working on a local set of Atomic hosts.

[fedora@atomic-host-001 ~]$ cat /etc/group
root:x:0:
fedora:x:1000:
wheel:x:10:fedora

There may be a different way of enabling this, but I wasn't able to find one yet.

edit flag offensive delete link more

Comments

I experienced a similar problem. I can login with fedora credentials, but the user haven't the permissions to admin / manage docker.

pwFoo ( 2015-02-03 10:53:39 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

Asked: 2015-01-21 18:14:23 +0000

Seen: 581 times

Last updated: Jan 21 '15