02-13-2008
Thankyou, you must be getting fed up with me by now, sorry to be a pain
im almost there the command you gave me worked it has ensured firefox can only be run as root, however it would be nice if it asked for root password when you try to use it non root,(at the moment it just says permission denied) like when you try to run a program from the adminstration menu, im probably asking to much here
but thankyou for all your help so far it really has helped alot so far.
10 More Discussions You Might Find Interesting
1. Solaris
not sure what the problem is, when I go to /home and enter command mkdir i get this error
mkdir chris
mkdir: Failed to make directory "chris"; Operation not applicable
im root.... (3 Replies)
Discussion started by: csaunders
3 Replies
2. UNIX for Dummies Questions & Answers
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
3. UNIX for Advanced & Expert Users
I want to know what i can set up so that root user can read everything. On my Solaris systems root can read the following directory.
drwxrwx--- 408 icsrc icarc0 36864 Aug 21 07:24 dev
drwxrwsr-x 7 icsrc icarc0 4096 Aug 4 1998 test
But on my linux systems it gets:
# cd dev
bash: cd:... (4 Replies)
Discussion started by: frankkahle
4 Replies
4. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
5. AIX
dears,
good day.
i need to be able to take a mksysb for a machine running aix 6.1.5 without the root credentials and also without using sudo
any advice ? (2 Replies)
Discussion started by: islam.said
2 Replies
6. UNIX for Dummies Questions & Answers
Hello every body,
I need to make a constant variable to the root such as #PS1="I am Amer" and so on.
I know if i am a user,I can make it fixed from #vi .profile
HOW to make it fixed for the root?
Thanks in advance
BR
Ahmed Amer
Cairo,Egypt (7 Replies)
Discussion started by: ahmedamer12
7 Replies
7. Shell Programming and Scripting
Hello,
Is there any method thorugh which script can take argument if pass otherwise if argument doesn't pass then it takes the argument from the configuration file
i.e I am workiing on a script which will run through crontab and the script will
chekout the code ,zip and copy to the... (3 Replies)
Discussion started by: rohit22hamirpur
3 Replies
8. Shell Programming and Scripting
So I have a script that runs as a non-root user, lets say the username is 'xymon' .
This script needs to log on to a remote system as a non-root user also and call up a bash script that runs another bash script as root.
in short: user xymon on system A needs to run a file as root user and have... (2 Replies)
Discussion started by: damang111
2 Replies
9. UNIX for Advanced & Expert Users
I have a series of configuration files to deliver to multiple unix environments (dev, test, bench, prod etc). However I don't to modify them for each environment.
The files are text which currently contain this type of directory information
IN=/DVT/ms/sas/reception/PIL_QPA_SID/GSPIN001... (5 Replies)
Discussion started by: clarcombe
5 Replies
10. UNIX for Dummies Questions & Answers
I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way?
I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies
dop(8) System Manager's Manual dop(8)
NAME
dop - Allows a user to execute a privileged program without knowing the root password. The dop command also modifies the action database.
SYNOPSIS
/usr/sbin/dop [-n | -N] [ui:] action [args]
/usr/sbin/dop -a priv[,priv]... action [ui:]pathspec[,[ui:]pathspec]...
/usr/sbin/dop -a priv[,priv]... [ui:]pathspec
/usr/sbin/dop -d action
/usr/sbin/dop [-w | -W]
OPTIONS
Invokes a prompt asking the user if they want to run the command as a user or as root. The root password is required to run as root.
Attempts to run the action with the user privileges. Adds new actions to the dop database. Deletes an existing action from the dop data-
base. Writes a binary image without changing the source. Updates the actionlist from the dop action file and then executes the -w option,
which writes the binary image.
OPERANDS
Name of privileged program to invoke Arguments to pass to the application guarded by the privilege. Comma separated privilege list (see
sysman dopconfig) The fully qualified path name and arguments for the associated action.
When specified by a comma separated pathlist and arguments for multiple user interface domains (ui:), the first ui: argument speci-
fied is used as the default. If no action is specified, then the path base name is used. A run-time argument replaces the first
occurrence of asterisk as a word (for example *) in a string, or else they are ignored. Path arguments should be quoted per the cur-
rent shell. Optional. A user interface domain, typically one of X11, suit, java, menu, cui, or cli.
DESCRIPTION
The dop (Division of Privileges) command can execute an action after proper authentication from the privilege database file. For more
information, see the Security guide.
RESTRICTIONS
You must have root privileges to modify the privileges database.
EXAMPLES
The following example will add an action to the AccountManagement privilege. dop -a AccountManagement adduser_script /usr/sbin/adduser
The following example runs the action adduser_script for the AccountManagement privilege. dop adduser_script
The following example deletes the adduser_script action from the action database. dop -d adduser_script
FILES
Executable file. Executable file for adding or deleting permissions for users and or groups. dop database.
SEE ALSO
Commands: sysman(8)
dop(8)