Solved

privileged user

Posted on 2014-10-09
3
243 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now