-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin rights #6
Comments
I have no idea so far if this can be achieved with the limitations of UWP. You could try this: http://blog.lukesampson.com/sudo-for-windows Would be nice to know if it works 🤔 |
Centennial Apps can call for admin rights (see Desktop App Converter in the store) so you can maybe elevate to admin rights the Node.js part that calls the commands |
I will have a look at this, but I am afraid this will be a Microsoft exclusive thing. FYI, there is no node.js running in the background of this App, the SystemTray is using winpty to host the shell processes. Guess I should write down something about the general architecture soon. |
Just want to be helpful. Here what I've found: |
There are two problems:
What might work is to further encapsulate But nevertheless thanks for your effort 😃 |
I'd love to run FluentTerminal as my main console emulator, but not being able to right-click and Run as Administrator is a big drawback. |
@spurll As a temporary workaround (or, permanent?), I use the following solution: http://blog.lukesampson.com/sudo-for-windows (as @felixse pointed out in post 2) |
We might actually be able to support elevated shells starting with the 1809 update and ConPTY |
Has anyone found a solution yet? |
So far only the workarounds that were posted here. A real solution is dependent on 1809, which I had no chance to install yet |
There exists new information within a blog series (originally anwesered within here). Maybe there are information about how to handle this with UWP. |
For Chocolatey , you can give access to C:\ProgramData\chocolatey for users in "rigth click chocolatey folder>Properties>Security>Edit>Users>Tick Full Access and save by clicking OK or approving whatever prompt you get |
sudo for windows works very well |
For those who have UAC problems with Chocolatey, I highly suggest you try this: scoop - https://github.com/lukesampson/scoop. |
Thanks for the great app. In order to have PowerShell starting always as admin using sudo I have set the "Arguments" of the PowerShell profile to (I couldn't get environment path working and therefore hard-coded the path): |
@ynsgnr sudo for windows works in FluentTerminal? |
@TylerLeonhardt It works for me |
* Appveyor builds (#6) * SSH implemented. * Implementing SSH by using the existing app infrastructure. * Refactored to new command instead of a profile * Update .gitignore
* Un-swap Ubuntu yellow and cyan (felixse#291) The build-in Ubuntu profile has the yellows and cyans swapped. This fixes that. * Add dark and light mode SVG icons for felixse#203 (felixse#290) * Ap/ssh Implemented SSH by using the exsting infrastructure (felixse#293) * Appveyor builds (felixse#6) * SSH implemented. * Implementing SSH by using the existing app infrastructure. * Refactored to new command instead of a profile * Update .gitignore * fix: new line bug in verbatim string (felixse#294) * Read whole terminal frame at once to avoid console data append glitches (felixse#299) * Read whole terminal frame at once to avoid console data append glitches * Simplify calculation logic with Math.Max * Move back referencing <None Include="FluentTerminal.App_TemporaryKey.pfx" /> since it's used during AppVeyor GitHub Releases deployment
* Un-swap Ubuntu yellow and cyan (felixse#291) The build-in Ubuntu profile has the yellows and cyans swapped. This fixes that. * Add dark and light mode SVG icons for felixse#203 (felixse#290) * Ap/ssh Implemented SSH by using the exsting infrastructure (felixse#293) * Appveyor builds (felixse#6) * SSH implemented. * Implementing SSH by using the existing app infrastructure. * Refactored to new command instead of a profile * Update .gitignore * fix: new line bug in verbatim string (felixse#294) * Read whole terminal frame at once to avoid console data append glitches (felixse#299) * Read whole terminal frame at once to avoid console data append glitches * Simplify calculation logic with Math.Max * Move back referencing <None Include="FluentTerminal.App_TemporaryKey.pfx" /> since it's used during AppVeyor GitHub Releases deployment
* Un-swap Ubuntu yellow and cyan (felixse#291) The build-in Ubuntu profile has the yellows and cyans swapped. This fixes that. * Add dark and light mode SVG icons for felixse#203 (felixse#290) * Ap/ssh Implemented SSH by using the exsting infrastructure (felixse#293) * Appveyor builds (felixse#6) * SSH implemented. * Implementing SSH by using the existing app infrastructure. * Refactored to new command instead of a profile * Update .gitignore * fix: new line bug in verbatim string (felixse#294) * Read whole terminal frame at once to avoid console data append glitches (felixse#299) * Read whole terminal frame at once to avoid console data append glitches * Simplify calculation logic with Math.Max * Move back referencing <None Include="FluentTerminal.App_TemporaryKey.pfx" /> since it's used during AppVeyor GitHub Releases deployment * Dev/overlay control (felixse#278) * Creating a control for the overlay * using Interactivity * trying to bind by reference * fix bindings * remove unused packages * Move getter/setter to show method * Convert to AutoProperty * Make text copied notification configurable * cache settings, removed unused file * Less conflicting default keybindings (felixse#309) Many of FluentTerminal's default keybindings collide with commonly used default keys in various terminal apps. Use defaults that are less likely to cause problems to provide a better out-of-the-box experience. Many of the bindings are inspired by gnome-terminal's defaults. Also, the `false` modifiers in the default keybinding specifications have been removed. This makes it easier to see which modifiers are actually in use.
Nice trick but it makes the Admin PS session run inside the current session, so basically you have to type "exit" twice to completely close the shell. |
Just a side-note for this workaround. Choco's You may need to restart the terminal if in need of an env reload. |
New Windows Terminal can be opened as administrator, why Fluent Terminal still have this issue? |
Hello, there is a tutorial on the web on how to achieve this: https://stefanwick.com/2018/10/07/app-elevation-samples-part-3/ is this something that will be looked into? |
I tried this back then, but I didn't find a way to integrate this with WinPty. I'm tending towards embedding https://github.com/gerardog/gsudo or doing something similar. |
I was ready to make this beauty my go-to software, but a terminal without admin rights isn't a proper terminal. Rather disappointing but looking forward for a future release that provides this essential capability. |
As a workaround, I use scoop to install sudo for windows
|
was looking for a new terminal to switch to from conemu (too many super tiny but irritating drawbacks/bugs in that) and fluent was great, but inability to run as admin is a huge deal breaker. one additional major reason, and not just chocolatey, is WSL2 + VSCode launch in the filesystem. it works fine in the native PS, but if i drop into wsl2 and try to launch code in current dir from wsl2 it spits out an access denied error:
sounds like a similar admin level issue, but maybe not. in either case, there's definitely something with permissions that's happening within this app. some details: |
Somehow I seem too stupid to get it working. |
Rather than starting your shell with |
How? |
How do I that exactly? |
Hello, any news on this ? Thanks |
I'm using Fluent Terminal, which looks more pretty than Windows Terminal. Fluent terminal settings like this: you should change the fix path "D:\Tools\scoop" to your owns. |
How can I start terminal with admin rights? As I know UWP app can't start as administrator. For example, I want to install Chocolatey Package Manager, but I see this.
P.S, Sorry me for my english language. =)
The text was updated successfully, but these errors were encountered: