Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Root privilege !!!

Root privilege !!! 13 years 1 week ago #7522

  • aminos
  • aminos's Avatar
  • Offline
  • Distinguished Member
  • Posts: 107
  • Karma: 0
I want to know how to assign root privilege to a user?
i know that root has an ID:0 GID:0 .
so i can change the ID and GID to this user to match 0 in /etc/passwd :cry:
is that all ?
or the just add him to the root group?
i want to know what is the wheel group?
i use RH 9.0.

thanks for all.
The administrator has disabled public write access.

Re: Root privilege !!! 13 years 1 week ago #7525

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
You can't, root is one and only, as is the User ID of every user. User ID 0 is a special UID, bypassing most access checks, but it remains unique. You can alter some things such as the permissions of important files i.e. so that they are writable from users that are members of some group, but to configure other privileges in detail you will need a kernel that supports Access Control Lists (ACL) / Role-Based Access Control, which is sort of a decentralized privilege system, such as SELinux. The idea is that no one must have more privileges than he needs. Notice however that if you do not want to compromise the security of your system, those things will need a careful planing before!
The administrator has disabled public write access.

Re: Root privilege !!! 13 years 1 week ago #7530

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
If you're really keen on doing this, try changing the UID and GID directly in /etc/passwd...

This is a bad idea, stuff will break.
Sahir Hidayatullah. Staff - Associate Editor & Security Advisor
The administrator has disabled public write access.
Time to create page: 0.108 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup