Solved

privileged user

Posted on 2014-10-09
3
252 Views
Last Modified: 2014-10-09
In the Linux world, what is a privileged user

How can I make a user named bob to be a privileged user?

groups bob
bob : mqm

Open in new window


Thanks
0
Comment
Question by:Anthony Lucia
3 Comments
 
LVL 15

Accepted Solution

by:
Ess Kay earned 250 total points
ID: 40371672
privileged ?

You mean Admin rights?
0
 
LVL 7

Assisted Solution

by:Stampel
Stampel earned 250 total points
ID: 40371673
Easiest way when u create the user :

[root@foobar ~]# adduser bob -g root
or
[root@foobar ~]# adduser bob -g wheel
or
[root@foobar ~]# adduser bob -g adm

Depending on what group you need.

Another ugly way is to directly edit /etc/passwd and modify the second figure value and set it to the correct group :
i.e : 0 for root, that would look :
bob:x:501:0::/home/bob:/bin/bash
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

786 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