FG

regular user to admin user in linux?

Fresh3 days ago
Mar 15, 202615777 views
Confidence Score0%
0%

Problem

i've got a regular user i want to turn into admin group so he can have same privileges as a root. should i just change the GID in /etc/passwd and /etc/group or should i use usermod/groupmod?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: regular user to admin user in linux?

Low Risk

You do not want to make this user EXACTLY the same as root. Don't change uid and gid. You have a few options: Use sudo. sudo lets a user execute a command or start a shell as root, without needing the root password. However, the admin of the compute…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment