Solved

Another User as Root

Posted on 2002-05-29
2
153 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS 7 Installation 7 85
Backup & Restore 3 66
How to find Linux Server's last patch date 9 67
RHEL installation problems on HP Proliant DL 360 G6 server 20 55
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.

809 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