未加星标

SuRun on Windows 7 - Worth trying?

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二03 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

Updated: October 12, 2016

Many moons ago, I tested a nifty little tool for windows XP calledSuRun, which emulates the concept of sudo in linux, except you do in a Microsoft operating system, with grace and elegance. I've always advocated setting up systems as a limited user, but it often presents an administrative challenge, due to the overhead associated with running multiple accounts.

SuRun solved the problem, and eight years later, I'm stillusing it in my virtualized Windows XP, to see how well this operating system weathers the challenges of modernity. But you may ask, what about Windows 7 and onwards? Well, looking at the project site, it does not mention anything, but the Sourceforge page seems to cover all recent Windows releases. And so we're testing.

Setup and whatnot

There will be some snags. The first one is, screenshots. One, they are identical to what I've shown you in Windows XP, with only a few tiny exceptions. Two, you can't really take screenshots of privilege elevation prompts on a physical system, and since I was testing on a reallaptop, there ain't gonna be too many screenshots. Soz.

The second one is, how do you use SuRun on Windows 7, and how does it stack against the classic setup of a standard user and occasional prompts for admin password, especially since the administrator is not enabled by default? Hence the snags.


SuRun on Windows 7 - Worth trying?

The installation was quick and simple. Then, I added my user to the SuRunners groups so that we can sudo to it when needed. However, unlike Windows XP, it did not offer to change the account type to a standard user.

Manual changes

To be able to use SuRun on Windows 7, you will need to do a bit of homework. The first piece is to enable your administrator account. There are many ways and hacks to achieve this, but the simplest one is to run lusrmgr.msc (Local Users and Groups) from the command prompt or Windows search.

Enable your administrator account, SET a password, log off, then log in as the admin. Then, you can do the standard account management through the Control Panel, and change your original user.


SuRun on Windows 7 - Worth trying?

If you're comfortable, you can make it all in one go. In the User Manager interface, you can change your own user, too, but make sure you have enabled the administrator account so you do not accidentally lock yourself out. It is VERY important that you not just remove yourself from the Administrators group but also ADD yourself to the Users group.


SuRun on Windows 7 - Worth trying?
SuRun on Windows 7 - Worth trying?
SuRun on Windows 7 - Worth trying?
SuRun on Windows 7 - Worth trying?
SuRun on Windows 7 - Worth trying?

This may sound convoluted, but in essence:

Enable admin (lusrmgr), set password (CP) Remove current user from Administrators Add current user to Users Log off and test SuRun versus Windows prompts

And so I started testing, all permutations. First, admin enabled and SuRun. You can choose either Run as administrator, which is a Windows feature, or Start as Administrator, which is a SuRun function. Either one works without any problems, and I was able to do anything and everything. Second, with admin disabled, the Windows prompt does not work, but you can still use SuRun with all the beauty and grace of sudo. There were no bugs, clashes or conflicts. If and when I'd execute something with admin credentials, Surun would notify me with an unhappy face.


SuRun on Windows 7 - Worth trying?
SuRun on Windows 7 - Worth trying?
SuRun on Windows 7 - Worth trying?
So which one?

And that's a really good question. SuRun has been around for a long while, and it seems to work very well. But it is still an unofficial tool. With Windows XP, it did wonders, and it really transformed a somewhat clunky limited account method into a seamless and powerful model.

With Windows 7 onwards, the need for this is much reduced, as you can elevate privileges without any great fuss, and most common applications seem to agree and behave pretty well overall. Plus, it's an official method, and Microsoft fully supports it in their systems. But then again, it does necessitate having an admin account alive and kicking, and there could be some problems with that potentially. The concept of sudo is really really neat.

Conclusion

With great uncertainty, it is time to finish this article. But worry not, I will give you my recommendation. If you can afford time to test, I suggest you do give SuRun a try, and once you build confidence, you should disable the Administrator account and only use this tool as your method of privilege elevation. System imaging and backups are a must.

Be aware that this is still something quite out of ordinary. It does not mean it's bad, but there are implications in doing special, nerdy things. All in all, I've never had issues with SuRun, but that's not necessarily good enough for you. The only really convincing argument is that you should spend a fair amount of time playing with it, using it, go through a few WU cycles, and only then decide if its convenience and simplicity outweighs your current habits. Overall, 'tis a very nice tool, and eight years down the memory lane, it still performs quite well in this brave, modern world. For techies out there, this should definitely be on your to-do and to-use list. There.

Cheers.


SuRun on Windows 7 - Worth trying?

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

主题: WindowsLinuxWindows 7RY
分页:12
转载请注明
本文标题:SuRun on Windows 7 - Worth trying?
本站链接:http://www.codesec.net/view/482090.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(44)