BTW, can you please let me know that exact operation about the below commnad.
usermod -P 'Primary Administrator' bullz26
I'm granting the primary administrator privilege to the bullz26 user.
Quote:
one more is, will it work on other OS like Linux and HP-UX also?
HP-UX has definitely something similar, also named RBAC but the implementation differs. I'm not that much familiar with it.
As far as I know, the Linux kernel doesn't implement privileges so is limited to sudo.
Quote:
BTW, how to check this access is already granted.
With this command:
Quote:
and how to revoke it if already present.
That way:
---------- Post updated at 16:39 ---------- Previous update was at 15:53 ----------
Quote:
Originally Posted by jim mcnamara
You have to use sudo and the sudoers file to specifiy exactly what an individual user can sudo.
Looks like a tautology to me
You can use Solaris (and probably HP-UX) RBAC to specify what an individual user can and cannot do. Sudo has several strenghts, like being cross platform and allowing to set the arguments passed to an authorized command but RBAC has a wider range of possibilities that sudo cannot achieve being userland only.
Hey, thanQ so much for the help.
I wish to give full points.
BTW, I am disappointed that, I can't configure RBAC on HP-UX and Linux servers
It would be great, if something like SUOD (or) profile in solaris options in Linux and HP-UX servers too.
Hi,
I am not really wanting to replace ps but I am hoping that someone has written a ps wrapper of some sort that can give it some functionalities. I am looking for one that can maybe do the following:
sort the process from oldest/newest running process
list process that has been started... (3 Replies)
Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error.
Command:
sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh
Error:
sudo: sorry,... (8 Replies)
Hi All,
I running a unix command using sudo option inside shell script. Its working well. But in crontab the same command is not working and its throwing
"sudo: sorry, you must have a tty to run sudo". I do not have root permission to add or change settings for my userid. I can not even ask... (9 Replies)
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Is there any other editor, installed by 'default' in Sparc Solaris10, besides vi?
I'd like to avoid installing anything new.
If not, how to make vi more user-friendly?
thanks. (8 Replies)
Sudo In AIX, how to find out what commands have been run after a user sudo to another user? for example, user sam run 'sudo -u robert ksh' then run some commands, how can I (as root) find what commands have been run?
sudo.log only contains sudo event, no activity logging. (3 Replies)
Hi techies ..
This is my first posting hr ..
Am facing a serious performance problem in counting the number of lines in the file. The input files i get will be in some 10 to 15 Gb of size or even sometimes more ..and I will load it to db
I have used wc -l to confirm whether the loader... (14 Replies)
we are looking at changing the way we get root on our network.
in our current system if an admin needs root access he just gets the root password and uses an su.
some of our staff have decided that a sudo to "/bin/sh" will be easer.
some of our staff think a sudo to "su -" will be better.
I... (0 Replies)
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)