Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-11 > #18246

Re: beesu for windows?

Subject Re: beesu for windows?
From mummycullen@gmail-dot-com.no-spam.invalid (MummyChunk)
Date 2025-04-03 14:36 -0400
Newsgroups alt.comp.os.windows-11
References <vslprv$3sbip$1@dont-email.me>
Message-ID <FQWdnVTkDusCcnP6nZ2dnZfqn_ednZ2d@giganews.com> (permalink)

Show all headers | View raw


> T wrote:
> Hi All,
> 
> Anyone know if a "beesu" style command for Windows?
> 
> Beesu open a input text dialog box prompting for the
> root's password and then proceed to run your command
> as root. Or bust your chops for the inputting
> the wrong password.
> 
> Many thanks,
> -T



Windows doesn't have an exact equivalent to Linux's beesu command, but there are several ways to achieve similar functionality. The closest built-in option is the 'runas' command.

You can use it like this:

runas /user:Administrator "your_command_here"

This will prompt for the administrator password before running the command. One limitation is that it doesn't work with the default disabled Administrator account.

For something more like beesu, you might want to try gsudo - a popular third-party tool that adds sudo-like functionality to Windows.

It can:

Prompt for credentials when needed

Cache elevated privileges temporarily

Work in both Command Prompt and PowerShell

PowerShell also has its own elevation method using Start-Process with the -Verb RunAs parameter, though this uses the standard UAC prompt rather than a password dialog.

If you're using WSL (Windows Subsystem for Linux), you can use the regular sudo command within that environment. 


This is a response to the post seen at:
http://www.jlaforums.com/viewtopic.php?p=686763702#686763702

Back to alt.comp.os.windows-11 | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

beesu for windows? T <T@invalid.invalid> - 2025-04-03 04:02 -0700
  Re: beesu for windows? Newyana2 <newyana@invalid.nospam> - 2025-04-03 08:49 -0400
    Re: beesu for windows? T <T@invalid.invalid> - 2025-04-03 08:47 -0700
    Re: beesu for windows? ...w¡ñ§±¤ñ  <winstonmvp@gmail.com> - 2025-04-03 10:36 -0700
      Re: beesu for windows? Newyana2 <newyana@invalid.nospam> - 2025-04-03 14:17 -0400
        Re: beesu for windows? ...w¡ñ§±¤ñ  <winstonmvp@gmail.com> - 2025-04-05 11:16 -0700
          Re: beesu for windows? "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-06 21:12 +0100
        Re: beesu for windows? T <T@invalid.invalid> - 2025-04-06 06:08 -0700
  Re: beesu for windows? Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-04-03 19:31 +0300
  Re: beesu for windows? Paul <nospam@needed.invalid> - 2025-04-03 16:01 -0400
    Re: beesu for windows? Andy Burns <usenet@andyburns.uk> - 2025-04-03 21:56 +0100
  Re: beesu for windows? mummycullen@gmail-dot-com.no-spam.invalid (MummyChunk) - 2025-04-03 14:36 -0400

csiph-web