Solved

Admin rights under W9X

Posted on 2002-05-27
7
124 Views
Last Modified: 2010-04-04
Hi

I'm creating a program that runs on a network under Win95-XP.
The program interacts with my service on the other computers on the network. Some commands must only be send if the computer running the program has Admin rights.
This scheme is fine under NT as far as I see it, please comment if not.

But what do I do under 9X, AFAIK there is really no such thing as user-rights.

Any ideas, is something like this possible under a single user system?
0
Comment
Question by:sorentop
7 Comments
 
LVL 9

Expert Comment

by:ginsonic
ID: 7038745
listening
0
 
LVL 4

Accepted Solution

by:
max-hb earned 200 total points
ID: 7038925
Hi!
You're right, there is nothing like NTs user priviliges under Win9X - everyone has the same rights. Nevertheless you can set up different users on a Win9X machine and certainly one of them can be named "Administratior" or "root" or whatever you want.
This won't give these user more priviliges than the average user has but you can assign passwords to these accounts.
So far for the good news. The bad news is that everyone can create or delete the accounts of other users. BTW: a usner account under Win9X is only for managing different desktops for different users.

Hope this helps
0
 

Author Comment

by:sorentop
ID: 7040263
Thanks for the info, though it didn't give me any new information  :(
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:AvonWyss
ID: 7040302
Well, what do you want us to say; you do alreay know that every user in Windows 9X is kind of an administrator. So, I guess that you should always display the admin options, or you could put a "advanced user / simple user" switch (or any variation of it) to allow the user to choose between the different modes.

Of course, if the Windows 9X users log onto a NT domain, you may be able to gather more information about their group membership on the domain, but that doesn't really match the description of what you're doing (admin on the local machine).
0
 
LVL 4

Assisted Solution

by:max-hb
max-hb earned 200 total points
ID: 7041282
So it looks like using Win9X users is not appropriate for your problem. Other solutions may be:
1. Store username / password in a database on the computer running your service and provide a login procedure
2. Use "AvonWyss" suggestion to verify users when they log into a WinNT domain
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9010344
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split between AvonWyss and max-hb

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question