Solved

Another User as Root

Posted on 2002-05-29
2
152 Views
Last Modified: 2010-04-20
Hi:

On my server the user "admin" is the only one who can authenticate as Root. I need another one else to have this power. How to do?

But listen, I don't want to change it during a Telnet/SSH session, through "su newuser", I need to have it fix always when I logon as user "newuser".

Thanks a lot.

Mario./
0
Comment
Question by:multisites
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 7042444
> .. the user "admin" is the only one who can authenticate as Root

Can you please describe what this means for you?

In UNIX/Linux there is only one user which can be root. All other's might have similar permissions, but cannot authenticate as root.
The concept to do what you want is to put the user in a special group with permissions for root, but this requires that a lot of file permissions need to be changed.
0
 

Author Comment

by:multisites
ID: 7043073
Yeah, I have found out that on my /etc/groups file there's a group called wheel where is the "admin" user. So I just put the other user there and things worked. Thanks.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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