Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Root privilege !!!

Root privilege !!! 13 years 10 months ago #7522

  • aminos
  • aminos's Avatar Topic Author
  • Offline
  • Distinguished Member
  • Distinguished Member
  • Posts: 107
  • Thank you received: 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.

Re: Root privilege !!! 13 years 10 months ago #7525

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Expert Member
  • Posts: 613
  • Thank you received: 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!

Re: Root privilege !!! 13 years 10 months ago #7530

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
  • Page:
  • 1
Time to create page: 0.151 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