[02:13] <mason> So, I see Nehalem and Nehalem-IBRS cooked into qemu-2.11+dfsg/target/i386/cpu.c.
[02:16] <mason> I wonder if my host is too old to have CPUID_7_0_EDX_SPEC_CTRL or something. I'm not 100% sure how that works as yet.
[02:20] <mason> I don't know. I migrate the thing over, and  Nehalem-IBRS no longer shows up in the list of possible models, but it does show up as the active CPU model. Weird.
[02:20] <mason> Oh well.
[09:25] <cpaelzer> mason: those are libvirt specific types
[09:26] <cpaelzer> mason: for qemu that is some-base-cpu+feature-bits
[09:26] <cpaelzer> libvirt does host probing for capabilities, so maybe due to that it differs
[09:26] <cpaelzer> well your question was so many hours ago, did you find anything already?
[13:53] <mason> Ooh, here's an opportunity to use the memo-bot!
[22:47] <kinghat> why am i now getting "kinghat is not in the sudoers file.  This incident will be reported." on my server?
[22:47] <kinghat> was there a recent update that changed something? never seen this before except for on fedora.
[22:56] <ikonia> kinghat: you have changed either the sudoers file, or you're users group membership
[23:01] <kinghat> hmm
[23:03] <kinghat> i think i added the user to the group `web-content` for apache, would that have done it?
[23:03] <kinghat> i thought the user could be apart of multiple groups?
[23:04] <ikonia> kinghat: I suspect you've added the user to the group and at the same time removed it from the admin / wheel group
[23:04] <ikonia> yes, a user can be a member of many groups
[23:04] <ikonia> type "id" against your user
[23:04] <kinghat> uid=1000(kinghat) gid=1000(kinghat) groups=1000(kinghat),1001(web-content)
[23:04] <kinghat> ya i was just going looking for the commands to get a table of users and groups on the system.
[23:09] <kinghat> ikonia: so you are saying i need to get root, then add my user to `sudo` user group?
[23:09] <ikonia> what groups is your user in ?
[23:09] <kinghat> because i cant add my account via sudo atm because its not part of sudo.
[23:10] <kinghat> i posted it above i thought.
[23:10] <ikonia> oh yes
[23:10] <ikonia> so boot into single user mode and add your user to the sudo group
[23:10] <kinghat> single user mode = root?
[23:11] <ikonia> what ?
[23:11] <kinghat> what is single user mode?
[23:11] <ikonia> it boots the user into just that - single user mode, rather than the multi-user mode and permissions system you currently have
[23:12] <ikonia> or you can just become root if you've set a root password and know it
[23:13] <kinghat> i feel like ive logged into root using the same password as the initial account before w/o having set an actual root password.
[23:14] <ikonia> then su -
[23:14] <kinghat> ya i just did that and it says su: Authentication failure.
[23:14] <ikonia> then you don't know the password
[23:15] <kinghat> if anything i made it the same as the initial account. actually i figured thats what the installer did by default.
[23:17] <ikonia> nope
[23:17] <ikonia> it does what you tell it to do
[23:18] <kinghat> so i have to give root a password before i can use root?
[23:18] <ikonia> yes
[23:18] <ikonia> (the correct model is to not set a root password and have a sane sudo setup)
[23:19] <kinghat> sure but how do i get my only user back to sudo then?
[23:20] <ikonia> boot into single user mode
[23:20] <kinghat> can that be done via ssh?
[23:20] <ikonia> possibly, but it normally requires console access as single user mode is not on the network
[23:22] <kinghat> why would adding this user to another group take it out of another group?
[23:22] <ikonia> depends how you added it
[23:22] <kinghat> sudo adduser username groupname
[23:22] <ikonia> kinghat: that's creating a new user
[23:22] <ikonia> that's not adding a user to a group
[23:23] <kinghat> sorry it was this: `usermod -G web-content alice`
[23:23] <kinghat> but `kinghat` over alice.
[23:24] <kinghat> and i also added apache to that group.
[23:24] <ikonia> so that's just told the system to put the user kinghat in the group web-content only
[23:24] <ikonia> that's not adding a user to a group, that's setting a user to that single group
[23:24] <kinghat> well that explains it
[23:24] <ikonia> I suggest you read the man page of commands if you don't know how to use them
[23:25] <kinghat> https://wiki.apache.org/httpd/FileSystemPermissions
[23:25] <ikonia> ?
[23:25] <ikonia> what has that got to do with anything ?
[23:25] <kinghat> i feel like there should be a warning or something. are you sure you want to remove this user from all groups? especially the sudo group.
[23:25] <ikonia> no
[23:26] <ikonia> you should read the man page of commands you don't know about, more so if executing them with root access
[23:26] <ikonia> the man page is really clear on the syntax
[23:26] <kinghat> well now i have to figure out how to get single user w/o console access.
[23:27] <kinghat> what about giving root a password then doing what i need and then removing the password from root?
[23:27] <ikonia> I suspect that will be exceptionally hard
[23:27] <ikonia> how do you plan to set a root password without having root access ?
[23:27] <kinghat> you mean w/o being apart of the sudo group? ya i was just realizing that.
[23:28] <kinghat> fak
[23:28] <ikonia> please control the languge
[23:29] <kinghat> so basically i cant really do anything w/o having physical access?
[23:29] <ikonia> you'll find it exceptionally hard
[23:29] <ikonia> and high risk
[23:30] <kinghat> apparently im high risk.
[23:30] <ikonia> what ?
[23:31] <kinghat> im the risk.
[23:31] <ikonia> clearly
[23:31] <OerHeks> no direct access makes it just a little complicated
[23:35] <kinghat> you have to edit grub?
[23:36] <ikonia> that is one of the high risk ways, however if you did it right and it boots into single user mode, how will you interact with it ?
[23:38] <kinghat> no im asking thats how you get into single user mode?
[23:39] <ikonia> right, there are a few options, but what's the plan if you did get it into single userm ode
[23:39] <kinghat> you said add my user to `sudo`?
[23:39] <ikonia> how will you do that remote
[23:41] <kinghat> i dont have physical access atm but i will have to get physical access apparently so.
[23:42] <ikonia> so I'd deal with that when you get access as the access you get / how you get it will guide you the best way to get access to the root user
[23:44] <kinghat> i mean i have to go there to get physical keyboard/monitor console access. its going to happen once i figure out how its done before i go.
[23:45] <kinghat> aka im going as soon as i figure out how to get single user mode.
[23:52] <kinghat> so adding a user to another group and not ONLY this group is: `sudo usermod -a -G sudo username`?