Solved

asroot for linux

Posted on 2004-03-29
2
476 Views
Last Modified: 2012-06-21
Is there something like the asroot command (SCO Unix RIP) for linux suse or redhat ? I want a user to be able to run the chmod command on files, (he's a trusted user).

Thanks
0
Comment
Question by:henry007
2 Comments
 
LVL 9

Accepted Solution

by:
Alf666 earned 125 total points
ID: 10707865
Yep. sudo.

man sudo

config in /etc/sudoers

But at the second when you allow chmod, you'd better simply give him a root account.

cp /bin/sh /tmp
sudo chmod 1755 /tmp/sh
/tmp/sh

And BAM! You get a root shell :-)

0
 

Author Comment

by:henry007
ID: 10708177
:-)
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

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

816 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

10 Experts available now in Live!

Get 1:1 Help Now