06-19-2012
Yes allowing a user to run only certain commands as root can be done by setting up the sudoers file in an appropriate way.
(Just check that you've setup a correctly formatted sudoers file)
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I would like to add users to an IRIX system (SGI). Does anyone have any idea of how to add the user?
Is there a graphical interface like: admintool(SUN), sam(HPUX), or solstice(SUN) that does the function?
Thanks in advance, (1 Reply)
Discussion started by: vtran4270
1 Replies
2. UNIX for Advanced & Expert Users
Hi guys...
I'm looking for a app that woul permit me to do user accounting over the network, based under HP-UX 11.00.
I already thought of using a ksh script with ssh networking, but this doesn't really match what i want.
Some freeware GNU or Opensource would be great....
Just for... (8 Replies)
Discussion started by: penguin-friend
8 Replies
3. UNIX for Dummies Questions & Answers
I am trying to run a command from different user on my server. However when i execute the command it asks for password can you please help.
when i use this command to switch user no password is required
1) sudo su - bilbtf42
when i use
2) sudo su - bilbtf42 cp file1 direcotry1/file1
... (3 Replies)
Discussion started by: blackeyed
3 Replies
4. Shell Programming and Scripting
Folks,
I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3)
List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies
5. UNIX for Dummies Questions & Answers
Hi folks,
Here is my question of the day 8-)
I have to provide the ability to sudo su - orapd2 & sudo su - pd2adm for the following people
User A, B, C, D which all of them are part of the group staff.
orapd2 and pd2adm are also users. Users A, B, C, D should not type the password for... (2 Replies)
Discussion started by: 300zxmuro
2 Replies
6. Shell Programming and Scripting
Hi,
I need to work on restricting the Linux commands to the ADMIN user to some extent. It means for example, Admin users should not use passwd command to change the password of "root" or other important accounts like oracle, etc.,
So, I want to know which commands should be restricted upto which... (5 Replies)
Discussion started by: Dpu
5 Replies
7. Solaris
I'm trying to install OpenOffice on Solaris 11 but when I click on the setup icon I get an error message telling me that I need to have admin rights.
I've tried logging on as SU or ROOT but cannot. I don't see how to grant myself admin rights. How is it done ?
I know there are many many... (7 Replies)
Discussion started by: stansaraczewski
7 Replies
8. AIX
Hello All,
I am trying to grant sudo privileges to a set of users (say tom and jerry) to sudo to another set of users (jim, harry). This is because we don't want to disclose the password of jim and harry.
I did defined the user_alias and runas alias.
%wms ALL = (USR) /usr/bin/su -, where wms... (7 Replies)
Discussion started by: ibmtech
7 Replies
LEARN ABOUT PHP
asadmin-shutdown
asadmin-shutdown(1AS) User Commands asadmin-shutdown(1AS)
NAME
asadmin-shutdown, shutdown - brings down the administration server
SYNOPSIS
shutdown [--user admin_user][--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s]
shutdown gracefully brings down the administration server and all the running instances. You must manually start the administration server
to bring it up again.
OPTIONS
--user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
Example 1: Using the shutdown command
asadmin> shutdown --user admin --password adminadmin --host bluestar --port 4848
Waiting for admin server to shutdown...
Admin server has been shutdown
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
Administration Server page
asadmin-start-instance(1AS), asadmin-stop-instance(1AS), asadmin-restart-instance(1AS)asadmin-start-domain(1AS), asadmin-stop-domain(1AS),
asadmin-start-appserv(1AS), asadmin-stop-appserv(1AS)
J2EE 1.4 SDK March 2004 asadmin-shutdown(1AS)