| |
CVibes.net | Home | Links ( Motorcycles, Computers ) |
Principle of Least Privilege
( How to Get Programs to Run While Logged in as a Member of the Users Group )
All of the information, instructions, and recommendations on this Web site are offered on a strictly "as is" basis. Remember "Murphy's Law." Please take the proper precautions before attempting any of the tips or modifications listed here.
| What is the Priciple of Least Privilege? |
| How to Create a Custom Default User Profile in Windows XP |
| How to Create a Custom Default User Profile in Windows Vista |
| BEST Plus |
| Mavis Beacon Teaches Typing v15 |
| ImgBurn: You need Administrative privileges to use SPTI |
| NDCMedisoft Advanced v9 |
| Security & Privacy Tips |
| Links to: Principle of Least Privilege |
| Computer Tips Index |
In information security & computer science the principle of least privilege, or just least privilege, requires that a user, a program, or a process/service should only have access to the information and resources that are necessary to do its job.
If a system is compromised, by malware or an unauthorized user, that user or malware will most likely have the same rights as the currently logged in user. If the current user is an administrator or root user, then the malware/unauthorized user will have full reign to do what ever they wanted to the system. If the current user was not an administrator or root user, e.g. a Limited User, then the malware/unauthorized user should be restricted to what they can access and to how much damage they can inflict on the system.
Part of implementing least privilege is to not allow users to log in as members of the Administrators group or as a root user.
It's good practice to install and configure the required applications, then create a Custom Default User Profile, before allowing any users to log in for the first time.
[OS: Windows XP]
A custom default user profile is helpful if several people use the same computer but each user wants a separate profile and access to shared resources.
When multiple users log on locally to the same computer, Windows XP uses the built-in default user profile as a template to assign a profile to each new user.
You can replace this built-in profile with a custom default user profile so that each new user receives a custom version of the profile.
| 1. | Log on to the computer as the administrator, and then create a local user account. Add that new local user account to the administrators group. | ||||||||||||||
| 2. | Log off as the administrator, and then log on to the computer using the local user account that you just created. Caution: You will cause permission issues if you create the custom user profile when you are logged on as the administrator. |
||||||||||||||
| 3. | Customize the profile: Install and configure applications, install printers and map network drives. | ||||||||||||||
| 4. | Log off as the local user, and then log back on as the administrator. | ||||||||||||||
| 5. | Replace the current default user profile with the customized default user profile. To do so, follow these steps:
|
Windows XP will use the Default User profile as a template from which to create a new user profile for any new user who logs on to the computer.
This change is permanent, so it is a good idea to make a backup copy of the Default User directory that is in C:\Documents and Settings\ before starting.
Note: If you get an error about files being "in use" or "locked," just reboot into Safe Mode and try to copy the profile again.
[OS: Windows Vista]
A custom default user profile is useful if several people use the same computer but each user wants both a separate profile and access to shared resources.
When multiple users log on locally to the same computer, Windows uses the built-in default user profile as a template to assign a profile to each new user.
You can replace this built-in profile with a custom default user profile so that each new user receives a custom version of the profile.
| 1. | Log on to the computer as the administrator, and then create a local user account. Add that new local user account to the administrators group. | ||||||||||||||||||||||
| 2. | Log off as the administrator, and then log on to the computer using the local user account that you just created. Caution: You will cause permission issues if you create the custom user profile when you are logged on as the administrator. |
||||||||||||||||||||||
| 3. | Customize the profile: Install and configure applications, install printers, map network drives, etc. | ||||||||||||||||||||||
| 4. | Log off as the local user, and then log back on as the administrator. | ||||||||||||||||||||||
| 5. | Replace the current default user profile with the customized default user profile. To do so, follow these steps:
|
||||||||||||||||||||||
| 6. | User RegEdit to remove references to the source user profile from the Default user profile:
|
Windows will use the Default User profile as a template from which to create a new user profile for any user who logs on to the computer for the first time.
This change is permanent, so it is a good idea to make a backup copy of the C:\Users\Default directory before starting.
Note: If you get an error about files being "in use" or "locked," just reboot into Safe Mode and try to copy the profile again.
by CAL (Center for Applied Linguistics)
[OS: Windows XP Professional SP2]
When you run BEST Plus while logged in as a limited user, the following message is displayed:
Data Access Not Successful!
BEST Plus was unable to successfully update its program variables. This is usually due to inadequate user rights (permissions) on the computer, especially with Windows XP. You must be signed in with Administrator rights in order to use BEST Plus.
Use Regedit, while logged in as a member of the Administrators group, to modify the permissions for HKEY_CLASSES_ROOT\pztfile
When a user is logged in as a member of the Users group, an error is displayed when starting Mavis Beacon Teaches Typing v15.
Could not create file for system settings. C:\Documents and Settings\All Users\Application Data\Broderbund\Mavis Beacon\MAVUSER\system.msy
The directory C:\Documents and Settings\All Users\Application Data\Broderbund\Mavis Beacon\MAVUSER\ requires "Modify" and "Write" rights.
These are instruction on how to get Mavis Beacon Teaches Typing v15 to run on computers running Microsoft Windows 2000, and XP and the user is logged in with an account that is a member of the group "Users." e.g. Student
When MBTT is run, the menu that is displayed shows several options. Run, Install/Uninstall, Register, etc. It's best that the user isn't able to use these other options.
Further, delete all the other shortcuts that were installed with Mavis so that users don’t use them. e.g. Register, Readme, & Internet.
Room 05-404
From ImgBurn Log:
I 13:41:50 ImgBurn Version 2.4.1.0 started! I 13:41:50 Microsoft Windows XP Professional (5.1, Build 2600 : Service Pack 3) I 13:41:50 Total Physical Memory: 1,004,076 KB - Available: 386,980 KB I 13:41:50 Initialising SPTI... I 13:41:50 Searching for SCSI / ATAPI devices... E 13:41:52 CreateFile Failed! - Device: '\\.\CdRom0' (R:) E 13:41:52 Reason: Access is denied. W 13:41:52 Errors were encountered when trying to access a drive. W 13:41:52 This drive will not be visible in the program. E 13:41:52 You need Administrative privileges to use SPTI. W 13:41:52 No devices detected!
______________________________________________________________________
Problem:
You receive a the error, 'You need Administrative privileges to use SPTI' when you start the ImgBurn as a Limitied user.
Answer:
By default on Windows XP, SPTI is available only to Administrators.
Here is a quick workaround for those people wanting to stick with SPTI:
______________________________________________________________________
ImgBurn Log: After rebooting and logging in as a Limited User...
I 13:48:31 ImgBurn Version 2.4.1.0 started! I 13:48:31 Microsoft Windows XP Professional (5.1, Build 2600 : Service Pack 3) I 13:48:31 Total Physical Memory: 1,004,076 KB - Available: 393,284 KB I 13:48:31 Initialising SPTI... I 13:48:31 Searching for SCSI / ATAPI devices... I 13:48:31 Found 1 DVD±RW!
________________________________________________________________________________________
You can use the following reg key instead of manually configuring secpol.msc
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "allocatecdroms"="1"
______________________________________________________________________
Reference:
Allow modify rights for group Users to:
All items Copyright ©1996 - 2008 Chin. All Rights reserved
Conscious Vibes developed by Chin
Terms of use