Code Monkey home page Code Monkey logo

Comments (6)

TsXor avatar TsXor commented on May 21, 2024

以及,这样其实并不好,理想情况应该是nsudolc负责cli,nsodolg负责gui
nsudolc行为是正常的cli程序却不能干任何正事(只能打印帮助),nsudolg行为是正常的gui程序但是只有通过它才能执行命令...这河里吗?
EDIT:nsudolg好像也只能启动cmd...

from nsudo.

MouriNaruto avatar MouriNaruto commented on May 21, 2024

@TsXor
NSudoLC 需要在管理员权限的上下文才能发挥和 NSudoLG 一样的作用,在不是管理员的上下文也就显示帮助和需要提权的提示(其实 NSudoLG 也是,只是在清单里说明自己需要管理员了而已,NSudoLC 不这么做是为了在控制台下的体验)

from nsudo.

MouriNaruto avatar MouriNaruto commented on May 21, 2024

当然关于非管理员下 NSudoLC 没有提示用户需要以管理员身份运行这点会进行改进

from nsudo.

MouriNaruto avatar MouriNaruto commented on May 21, 2024

文档里的描述的话,主要还是历史原因导致的
最后会统一成 NSudoL,毕竟是 NSudo Launcher,C 和 G 后缀只是控制台版和图形版的标识;当然为何不 NSudoLC 和 NSudoLG 是为了能够只维护一份命令行帮助文档

from nsudo.

TsXor avatar TsXor commented on May 21, 2024

想了好几天,nsudo可能更接近于su而不是sudo

from nsudo.

MouriNaruto avatar MouriNaruto commented on May 21, 2024

@TsXor

想了好几天,nsudo可能更接近于su而不是sudo

也许吧,在 Windows 下的话,我是把 NSudo 对标 runas 和 psexec 的

from nsudo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.