|
Virtualbox has a niche for us, because it lets courses distribute a single VM image file that people can just double click and run. Some of the more specialised software is chained to a license server, is finicky to set up, or, usually, is both. Walking 40 people through installing some piece of poo poo software is annoying as hell. Since virtualbox doesn't require any elevated permissions and is freely available, it helps save a bunch of time.
|
# ? Feb 8, 2024 20:13 |
|
|
# ? Jun 2, 2024 02:51 |
|
Antigravitas posted:Virtualbox has a niche for us, because it lets courses distribute a single VM image file that people can just double click and run. Some of the more specialised software is chained to a license server, is finicky to set up, or, usually, is both. Walking 40 people through installing some piece of poo poo software is annoying as hell. oh yeah this 100% dunno why libvirt doesn’t have first class support for OVAs is confusing but whatever OVA support is definitely a niche that fills a need for educational courses or etc that need to distribute a virtual machine
|
# ? Feb 8, 2024 20:17 |
|
I mean, someone could always just barge in here and say “just use vmware, it’s much better” but the fact that you can just pull it down from ubuntu’s repositories makes it a no-brainer
|
# ? Feb 8, 2024 20:21 |
|
i don't think anyone was about to show up batting for vmware of all things
|
# ? Feb 8, 2024 20:23 |
|
https://www.theregister.com/2024/02/08/windows_11_sudo/ windows 11 will now have sudo wonder if it’ll also use the hair-pulling configuration syntax as well
|
# ? Feb 8, 2024 20:24 |
|
you should be able to do that with qemu, although hardware virtualization likely requires elevated permissions (which i suppose you could work around by having qemu run in its own group or something). either way you can boot pretty much any disk image format that qemu-img supports, which is a lot:quote:blkdebug blklogwrites blkverify bochs cloop compress copy-before-write copy-on-read dmg file ftp ftps host_cdrom host_device http https luks nbd nfs null-aio null-co nvme parallels preallocate qcow qcow2 qed quorum raw replication snapshot-access ssh throttle vdi vhdx vmdk vpc vvfat and that's from whatever apk i just added to iSH, i'm pretty sure you can compile in more
|
# ? Feb 8, 2024 20:24 |
|
sb hermit posted:https://www.theregister.com/2024/02/08/windows_11_sudo/ weird if true also lol, i stopped using chromeos in favor of windows because it disabled sudo
|
# ? Feb 8, 2024 20:25 |
|
Cybernetic Vermin posted:i don't think anyone was about to show up batting for vmware of all things Beeftweeter posted:it isn't very intuitive if you haven't used other virtualization software (from the era before libvirt and such existed/became popular, like vmware workstation or an older version of parallels etc.) before
|
# ? Feb 8, 2024 20:25 |
|
to be fair, this is not “batting for vmware”
|
# ? Feb 8, 2024 20:25 |
|
Beeftweeter posted:you should be able to do that with qemu, although hardware virtualization likely requires elevated permissions (which i suppose you could work around by having qemu run in its own group or something). either way you can boot pretty much any disk image format that qemu-img supports, which is a lot: Yeah. OVA is just a container format that is a bunch of disk images and an XML with stuff like memory size and etc, all wrapped in a zip file. It’s just annoying to do it by hand when I want to import it into libvirt.
|
# ? Feb 8, 2024 20:27 |
|
i think you misunderstood what i meant there, i was saying if you'd used vmware workstation or something like it (i.e. parallels) in the distant past, then virtualbox's ui will probably feel familiar to you, because it imitates them in several ways (or at least used to). like, i'm not saying that vmware's ui was good back then, but it was better than virtualbox's e: sb hermit posted:to be fair, this is not “batting for vmware” yeah
|
# ? Feb 8, 2024 20:27 |
|
Beeftweeter posted:ah wiki helpfully has a screenshot of current virtualbox (7.0) on windows 11: screenshot confused me cuz i thought ubuntu got rid of unity but remembered they made the gnome desktop look like that
|
# ? Feb 8, 2024 20:30 |
|
sb hermit posted:oh yeah this 100% its because the OVF/OVA specification doesn't include boring details like "the disk image format" or "the virtual device interface" virt-v2v can import VMware OVAs, but somebody would have to draw the rest of the loving owl for other format OVAs
|
# ? Feb 8, 2024 20:35 |
|
sb hermit posted:https://www.theregister.com/2024/02/08/windows_11_sudo/ quote:This project is not a fork of the Linux sudo project, nor is it a port of the Linux sudo project. Instead, Sudo for Windows is a Windows-specific implementation of the sudo concept. lol so they've learned nothing from the time that they jacked the names "curl" and "wget" and used them for unrelated things that aren't curl or wget https://daniel.haxx.se/blog/2016/08/19/removing-the-powershell-curl-alias/ or rather i guess they learned that they can do that with impunity
|
# ? Feb 8, 2024 21:29 |
|
vbox is needs suiting for me to run a ubuntu desktop as a separate item from my windows 10 home machine
|
# ? Feb 8, 2024 21:42 |
|
shackleford posted:lol so they've learned nothing from the time that they jacked the names "curl" and "wget" and used them for unrelated things that aren't curl or wget curl and wget in powershell are fine because posix is idiotic bullshit everyone should ignore. on linux theres no reason to run as anything other than root so sudo is pretty pointless. on windows it might be useful cause there isnt a command line tool for running an app as admin (triggering a uac prompt). You can right click something and run as admin or you can set a shortcut to always run as admin, but even something like runas requires entering credentials instead of being able to elevate the current user's permissions. so not super useful outside of a few niche cases, but if it makes linux users mad sounds good to me
|
# ? Feb 8, 2024 21:46 |
|
shackleford posted:lol so they've learned nothing from the time that they jacked the names "curl" and "wget" and used them for unrelated things that aren't curl or wget is curl.exe in system32 not curl? i don't use powershell because it's garbage, so idk about any kind of alias
|
# ? Feb 8, 2024 21:48 |
|
Captain Foo posted:vbox is needs suiting for me to run a ubuntu desktop as a separate item from my windows 10 home machine lol that's exactly what i was talking about : you don't need virtualbox for that at all, you can run ubuntu in hyper-v. there's even a quick install option for LTS
|
# ? Feb 8, 2024 21:51 |
|
Beeftweeter posted:is curl.exe in system32 not curl? curl.exe? nah man it's a dumb powershell shortcut for Invoke-WebRequest
|
# ? Feb 8, 2024 21:51 |
|
spankmeister posted:curl.exe? nah man it's a dumb powershell shortcut for Invoke-WebRequest worksforme using cmd or invoking it directly (i.e. /mnt/c/windows/system32/curl.exe) in wsl
|
# ? Feb 8, 2024 21:52 |
|
Shaggar posted:curl and wget in powershell are fine because posix is idiotic bullshit everyone should ignore. https://github.com/gerardog/gsudo
|
# ? Feb 8, 2024 21:53 |
|
yeah thats pretty much what i'd expect. not super useful in general cause alot of the time you're just gonna run the shell as admin in the first place, but maybe some edge cases where its useful like when you forget to run the shell as admin.
|
# ? Feb 8, 2024 21:57 |
|
Shaggar posted:curl and wget in powershell are fine because posix is idiotic bullshit everyone should ignore. ah yes, curl(1) and wget(1), the standard POSIX utilities
|
# ? Feb 8, 2024 22:11 |
|
Shaggar posted:yeah thats pretty much what i'd expect. not super useful in general cause alot of the time you're just gonna run the shell as admin in the first place, but maybe some edge cases where its useful like when you forget to run the shell as admin. oh totally that's pretty much all it's really good for "whoops"
|
# ? Feb 8, 2024 22:14 |
|
it feels native on kde i'd even argue it feels more native than virt-manager on kdr
|
# ? Feb 8, 2024 22:20 |
|
i mean, what they're presumably talking about is a utility called sudo which implements some of the features the same. as far as the *functionality* of sudo that exists in several forms covering most realistic needs. and arguably better in that it triggers uac with a proper isolated desktop session doing auth.
|
# ? Feb 8, 2024 22:22 |
|
outhole surfer posted:it feels native on kde lol no it doesn't. plasma has standard widgets too and virtualbox doesn't use them
|
# ? Feb 8, 2024 22:23 |
|
Cybernetic Vermin posted:i mean, what they're presumably talking about is a utility called sudo which implements some of the features the same. as far as the *functionality* of sudo that exists in several forms covering most realistic needs. i think they're just talking about something that's essentially a shortcut for "run as administrator" in contexts where it might be disruptive to actually do that (e.g. let's say you have an un-elevated terminal open and need to run some command that requires administrative privileges but you don't want to lose whatever is already on your terminal) like, the article says it's basically the same as "RunAs" (i'm not very familiar with windows scripting but i guess that would allow you more su-like functionality; i.e. running something as a user other than administrator/root)
|
# ? Feb 8, 2024 22:27 |
|
Beeftweeter posted:i think they're just talking about something that's essentially a shortcut for "run as administrator" in contexts where it might be disruptive to actually do that (e.g. let's say you have an un-elevated terminal open and need to run some command that requires administrative privileges but you don't want to lose whatever is already on your terminal)
|
# ? Feb 8, 2024 22:31 |
|
mystes posted:I'm not sure I'm understanding your exact point compared to what "Cybernetic Vermin" said, but it sounds like it has multiple modes including both being able to launch a separate elevated window and being able to run elevated commands in place which sounds pretty nice i'm not arguing with him or anything, my point was that from the description in el reg it's probably going to be a pretty limited utility compared to linux/posix sudo (which has a shitload of options and can run things as anyone, so long as it's configured that way, etc.) e: like do `man 8 sudo` on a linux system, it's complex as gently caress
|
# ? Feb 8, 2024 22:41 |
|
it will for sure have at least the ability to run things as "anyone", as windows does not have a fixed idea of a superuser to start with. there's an administrator user by default, but everything is real fine-grained if one gets into it.
|
# ? Feb 8, 2024 22:44 |
|
Cybernetic Vermin posted:it will for sure have at least the ability to run things as "anyone", as windows does not have a fixed idea of a superuser to start with. there's an administrator user by default, but everything is real fine-grained if one gets into it.
|
# ? Feb 8, 2024 22:46 |
|
Cybernetic Vermin posted:it will for sure have at least the ability to run things as "anyone", as windows does not have a fixed idea of a superuser to start with. there's an administrator user by default, but everything is real fine-grained if one gets into it. yeah, like i said it seems at least similar to (if not the same as) "RunAs", and while idk what that entails specifically i imagine it allows you to run things as anyone (otherwise it really should be renamed, lol)
|
# ? Feb 8, 2024 22:46 |
|
mystes posted:Actually the documentation at https://learn.microsoft.com/en-us/windows/sudo/ says it only supports administrator right now lol nice find, i wonder if el reg's article forced them to put that up early. it's dated today
|
# ? Feb 8, 2024 22:48 |
|
mystes posted:Actually the documentation at https://learn.microsoft.com/en-us/windows/sudo/ says it only supports administrator right now oh, wow, my bad! it is as far as i know very contrary to what you're *supposed* to assume as far as windows permissions go, but for all i know i am outdated or plain wrong beyond this
|
# ? Feb 8, 2024 22:48 |
|
would be nice to have a built-in runas without having to resort to sysinternals or some janky powershell ConvertTo-SecureString, System.Management.Automation.PSCredential Start-Process -Credential rigamarole that only works like half the time.
|
# ? Feb 8, 2024 22:49 |
|
there's a pretty detailed announcement about it here https://devblogs.microsoft.com/commandline/introducing-sudo-for-windows/ i just skimmed it quickly since there's no way in hell i'm using preview builds of windows 11, but it seems pretty good
|
# ? Feb 8, 2024 22:49 |
|
never had any real doubt it'd be good. no idea what the exact forces behind stuff like wsl, windows terminal, and just generally acting as people would expect a dev machine to act in 2024, are within microsoft, but they do good work. it is genuinely a pleasant and good development.
|
# ? Feb 8, 2024 22:52 |
|
I think some of the confusion for linux users might be that run as administrator does not litterrally run as a user called "administrator" in the same way a sudo command would run as the actual root user. It runs as the current user, just with elevated permissions. In order to do this you must be a member of the builtin\administrators group. You get a UAC prompt to approve the elevated permissions or, if you arent an administrator, you'll get a prompt to login as a user who is.
|
# ? Feb 8, 2024 23:03 |
|
|
# ? Jun 2, 2024 02:51 |
|
this windows sudo is kind of a nice to have more than anything that would really be a critical need especially since their recommended workflow (the new window mode) is litterrally identical to running cmd or powershell as admin.
|
# ? Feb 8, 2024 23:04 |