- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: execute as root?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 06:06 AM
11-27-2000 06:06 AM
execute as root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 06:16 AM
11-27-2000 06:16 AM
Re: execute as root?
You should use "sudo".
You can doawnload it from :
http://hpux.cs.utah.edu/
regards,
Patrice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 06:17 AM
11-27-2000 06:17 AM
Re: execute as root?
You can find 'sudo' at the following web site:
http://hpux.cs.utah.edu/
Once you access the site:
1. Type 'sudo' in the 'Package Search:' field.
2. Click the 'Search' button.
3.Click the 'sudo-1.5.6p5' link for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 06:21 AM
11-27-2000 06:21 AM
Re: execute as root?
A solution would be to use 'SUDO' that you can freely download at the following address:
http://www.courtesan.com/sudo/sudo.html
This utility allows you do define 'who' may run 'what' and under which usedid. It's quite powerful.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 06:25 AM
11-27-2000 06:25 AM
Re: execute as root?
For example:
let 's suppose we have two files
-rwsr-xr-x root group1 stick_file ( chmod 4755 stick_file)
-rwxr--r-- root group1 teststick
the file stick_file is like this:
############################
#! /usr/bin/ksh
echo 'who am i : \c"
whoami
./teststick
############################
teststick is:
##################
echo TEST
##################
and this command will be executed as root whatever user i use to run stick_file ( see this file permissions ).
i hope this helps
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 07:44 AM
11-27-2000 07:44 AM
Re: execute as root?
The log will enable you to keep track of who did what and when.