04-08-2008
Possibly sudo would work. If you don't have it installed you can get it from
IBM AIX Toolbox Download Page - Alphabetical Listing
Then as root enter "visudo" and add a line that reads
username hostname=/usr/IBMIHS/bin/apachectl
Where username is the name of the user you want to run apachectl and hostname is the hostname of the AIX box you want this run on.
I think that will work. However, I don't have a good way to check your specific configuration.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to grant write privileges to a user on a directory with out having to add the user to a group or make the user the owner of the directory?
My background is in Windows and in Windows you can grant specific privileges to a user without having to put the user in a group or making the... (3 Replies)
Discussion started by: here2learn
3 Replies
2. Shell Programming and Scripting
Good day Guys!!!
I am currently making a script in AIX, the script runs a SAS job, the owner of the script is the root, but the SAS jobs cannot be run by the root, as it should be run by a user 'sasia'. But inside the script, root creates a logfile, so what I need is just to su to sasia for the... (3 Replies)
Discussion started by: sasia
3 Replies
3. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
4. Linux
Hi,
Is it possible to grant root privileges to an ordinary user?
Other than 'sudo', is there some way under Users/Groups configuration?
I want ordinary user to be able to mount, umount and use command mt.
/Brendan (4 Replies)
Discussion started by: brendan76
4 Replies
5. UNIX for Dummies Questions & Answers
How to give an ordinary user the superuser (root) ID which is 0 (9 Replies)
Discussion started by: sharaola
9 Replies
6. Solaris
Can anyone please tell how to give root privilege to a normal user in solaris 10? (5 Replies)
Discussion started by: nicktrix
5 Replies
7. AIX
How to assign superuser privilege to an ordinary user temporarily (1 Reply)
Discussion started by: udtyuvaraj
1 Replies
8. AIX
I am planning to implement sudo for users.
Under , it looks I have to put the users who need to have sudo access:
What are the recommended for users? I don't think I need to give the ALL privilege (i.e ) to AIX users.
I'd like to know the commonly used privilege specification for sudo... (9 Replies)
Discussion started by: Daniel Gate
9 Replies
9. Shell Programming and Scripting
I need to make a shell script that accepts a directory input by the user. The program searches for the directory and finds if it exists or not. Then if it does exist, it outputs the number of files within that directory. Here's what I have so far.
result=
echo "Please input a directory:... (5 Replies)
Discussion started by: itech4814
5 Replies
10. Shell Programming and Scripting
Hi ,
I want to create 3 different user with below privilege in Solaris and Linux.
1) Read Only
2)Read and Write Only
3) Admin user
Can you guys help me on this . (3 Replies)
Discussion started by: Naveen Pathak
3 Replies
hpsmh(1M) hpsmh(1M)
NAME
hpsmh - starts or stops the HP System Management Homepage server
SYNOPSIS
DESCRIPTION
The HP System Management Homepage is the management server for web-based System Administration tools. In order to use HPSMH, start a web
browser on your desktop or workstation, and type in the URL or Address of the server to be managed:
By default, the HP SMH management server under HP-UX only starts on demand. It does not run continually. A daemon listens on port 2301 to
start an instance of the management server. The above URL automatically starts the management server, then redirects your browser to the
secure port from which to login:
The command starts or stops the HPSMH server. If no options are specified, displays the possible options.
Options
The command supports the followings options:
Starts the HPSMH Server if is not currently running
Stops the HPSMH Server
Access Control
By default, only the root user can login to HPSMH. Within HPSMH you can configure additional user groups to have HPSMH access.
You must be a superuser to run the command.
Certificates
Installing HPSMH will generate an SSL self signed certificate. Because this certificate is self signed, when connecting to HPSMH your web
browser will prompt you with a warning that the certificate was issued by a web site, company or Certificate Authority you have not chosen
to trust.
It is possible to proceed by accepting this self signed certificate temporarily for each session. You can also view and install (accept
permanently) this certificate to avoid this warning in the future. HPSMH also supports installation of certificates created by a Certifi-
cate Authority.
RETURN VALUES
The command returns:
upon successful completion
if the command failed
EXAMPLES
Starts HPSMH Server:
Stops HPSMH Server:
Shows options:
Using HPSMH, start a browser and enter the following URL:
AUTHORS
was developed by Hewlett-Packard
SEE ALSO
smhstartconfig(1M).
hpsmh(1M)