Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Antigravitas
Dec 8, 2019

Die Rettung fuer die Landwirte:
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.

Adbot
ADBOT LOVES YOU

sb hermit
Dec 13, 2016





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.

Since virtualbox doesn't require any elevated permissions and is freely available, it helps save a bunch of time.

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

sb hermit
Dec 13, 2016





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

Cybernetic Vermin
Apr 18, 2005

i don't think anyone was about to show up batting for vmware of all things

sb hermit
Dec 13, 2016





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

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN
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

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

sb hermit posted:

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

weird if true

also lol, i stopped using chromeos in favor of windows because it disabled sudo

sb hermit
Dec 13, 2016





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

sb hermit
Dec 13, 2016





to be fair, this is not “batting for vmware”

sb hermit
Dec 13, 2016





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:

and that's from whatever apk i just added to iSH, i'm pretty sure you can compile in more

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.

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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

euroshopper
Aug 14, 2021

Beeftweeter posted:

ah wiki helpfully has a screenshot of current virtualbox (7.0) on windows 11:



so the ui has been rearranged a bit, but i'd recognize those widget icons anywhere, they're still the same, as is the way it lists the virtualized hardware. lol

screenshot confused me cuz i thought ubuntu got rid of unity but remembered they made the gnome desktop look like that

pseudorandom name
May 6, 2007

sb hermit posted:

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

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

shackleford
Sep 4, 2006

sb hermit posted:

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

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

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

vbox is needs suiting for me to run a ubuntu desktop as a separate item from my windows 10 home machine

Shaggar
Apr 26, 2006

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

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

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

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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

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

is curl.exe in system32 not curl?

i don't use powershell because it's garbage, so idk about any kind of alias

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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

spankmeister
Jun 15, 2008






Beeftweeter posted:

is curl.exe in system32 not curl?

i don't use powershell because it's garbage, so idk about any kind of alias

curl.exe? nah man it's a dumb powershell shortcut for Invoke-WebRequest

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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

ziasquinn
Jan 1, 2006

Fallen Rib

Shaggar posted:

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

https://github.com/gerardog/gsudo

Shaggar
Apr 26, 2006

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.

shackleford
Sep 4, 2006

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

ziasquinn
Jan 1, 2006

Fallen Rib

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"

outhole surfer
Mar 18, 2003


it feels native on kde

i'd even argue it feels more native than virt-manager on kdr

Cybernetic Vermin
Apr 18, 2005

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.

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

outhole surfer posted:

it feels native on kde

i'd even argue it feels more native than virt-manager on kdr

lol no it doesn't. plasma has standard widgets too and virtualbox doesn't use them

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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.

and arguably better in that it triggers uac with a proper isolated desktop session doing auth.

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)

mystes
May 31, 2006

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)

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)
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

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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

Cybernetic Vermin
Apr 18, 2005

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.

mystes
May 31, 2006

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.
Actually the documentation at https://learn.microsoft.com/en-us/windows/sudo/ says it only supports administrator right now

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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)

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN

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

Cybernetic Vermin
Apr 18, 2005

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

spankmeister
Jun 15, 2008






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.

Beeftweeter
Jun 28, 2005

OFFICIAL #1 GNOME FAN
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 :shrug:

Cybernetic Vermin
Apr 18, 2005

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.

Shaggar
Apr 26, 2006
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.

Adbot
ADBOT LOVES YOU

Shaggar
Apr 26, 2006
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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply