Solved

asroot for linux

Posted on 2004-03-29
2
482 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

623 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