Tuesday 29 November 2011

What do you think of sudo7?

There are constantly some downloads on SF. But I don't received any feedback yet. Tell me what you think of the tool. Is it useful? How would you change it? Does it work on your computer? If it doesn't, what computer / software are you using?
Here's a discussion forum for the project. Let me know how I could improve sudo7.

Cheers!
Oli

Tuesday 1 November 2011

Sudo7 Version ONE Released

I have released version ONE (1.0.0) of sudo7 today. It is still doing the same thing, elevating other programmes to run on administrative security level. In this release I have changed the maximum command line arguments to the Windows Vista and Windows 7 standard 8191 characters. The code is now commented and I have added a usage message if you call it without arguments.
So, tell me what you think! Go to the discussion board on SF
Cheers, Oli

Tuesday 25 October 2011

sudo7 on SourceForge

sudo is now online on SourceForge! It is still in alpha status but it is working without problems (so far). Please let me know if you have any trouble.
Download from SourceForge
Have fun :)

Files on DataFileHost.com removed

I have moved the whole project to SourceForge now. It is now no longer available on DataFileHost.com. Go to SourceForge.net

Monday 24 October 2011

sudo7 project on SourceForge

I created a project on SourceForge for sudo! The first release under BSD License will be uploaded soon.
sudo does not request for a password of the administator account. It just elevates the execution of a given program or script. For example if you want to start a service as a normal user under Windows Vista or Windows 7 you would try the command net start [ServiceName].
This usually does not work. You don't have enough rights to start a service. Even if you are in the Administrator Group.
With the sudo command, you can elevate your script or program now. just type sudo net start [ServiceName] and a popup window will appear asking you if you want to allow the elevation.

Friday 21 October 2011

sudo for Windows 7

Whenever I wanted to start any Service on a Windows 7 Box I had to either start the Services Management tool or a command terminal as Administrator. The runas command in Windows is not capable of running Script commands like ‘net start …’ and unfortunately there is no command like su or sudo in Windows.

Well, there is no built-in command su or sudo. There is a sudo project on SF. But it’s a .NET application where you will have to install and configure it. It is a great tool but for my taste it is to big. I was looking for a tool that we can download and run as is. No installation and no further requirements than Windows (Vista or 7) itself.

All I have found was not really what I was looking for. Either I had to install it or it required some quirky runtime library or it just didn’t feel the way I wanted it to. So I wrote my own. It isn’t perfect or in any way complete (yet) but it works and it is simple.

It’s written in C and uses WinAPI calls only. There is no requirement except the C Runtime library which is installed anyway. It does not provide running a process under a different user, it just lets you elevate the security level of the process to run. If the user has the privileges to run a program as admin he’ll be able by starting the program with the command ‘sudo …’.

At the moment you can download the tool here. It is hosted at DataFileHost.com.

I’ll release the software and the source code under an open source license in the near future. I just have not decided yet. Therefore I released only the binary as freeware for now.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.