You are not logged in.
Pages: 1
I am readin' up on op ... wondered if anyone had tried it .....?
http://freshmeat.net/projects/op/
Is a more friendly (config wise!) version of sudo .....
Mr Green
Offline
sudo is user firendly enough for me. But thanks for bringing op to my notice
Be yourself, because you are all that you can be
Offline
Sudo's friendly enough for me too... It's not exactly designed to make things difficult after all.
(BTW, isn't it generally a bad sign when a project's homepage is 404? :shock: )
Offline
Offline
Well, it looks nice, I suppose... Not sure I like the mnemonics though, that just seems to me to smack of trying to fix something that ain't broken.
(I do have to ask though, does an arbitrary command executed with op have full root privileges, as with sudo? Forgive my ignorance..)
Offline
just read an article about op ... states mostly that configs are more flexible ..
thats all ...
I like using sudo .... safer sometimes than running root all the time
will read up more ;-)
Mr Green
Offline
I hate the sudoers configuration syntax. its so ugly. So ugly.
Offline
then take a look at ops .... then tell me what you think ...
/me waits for Dusty to release some code ;-)
Mr Green
Offline
Find back post.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I hate the sudoers configuration syntax. its so ugly. So ugly.
I looked at the linked op-site. It's configuration language looks at least equally ugly.
What I really like about sudo is the wrapper for editing the config "visudo" which prevents getting locked out because of syntax errors.
I never tried to implement a fine granulated sudoers.
Offline
Errr an example
command_shortcut command; options
very much like alias ...
halt /sbin/halt; users=mrgreen
now this means that mrgreen now has permission to shutdown system thus
op halt
but I hear you cry ... I have not entered a password, fear not ... simply add
halt /sbin/halt; users=mrgreen password
this is just the tip of the iceberg ... I may give op a go in the near future
MrG
Mr Green
Offline
What do you like? That you can assign a shortcut?
Look up "EXAMPLES" in "man sudoers" and tell me what is harder to understand in regard to the "op" syntax
mrgreen ALL=/sbin/halt
Offline
I agree...I've never thought the sudoers syntax was at all complex (especially in comparison to some configs... like sendmail )
Offline
Ok ..
I just read a article about op thats all I not trying to convert anyone to it ...
just thought I would try it out myself
I used the above as an example
there are other things you can do with op
If you are happy using sudo then fine
/me has sudo set up .....
Mr Green
Offline
I hate the sudoers configuration syntax. its so ugly. So ugly.
Its not so bad...Its pretty simple...
You can just edit it once and forget about it.
Offline
I am thinking now that on a system with more than one user op might handy ....
for most of us we run just as user & root so sudo does the job
user having control over installing, removing & editing root files to me is a little unsafe...
Of course you can change all this in suders file
Will be running op for a little while see how it goes ...
Mr Green
Offline
I think I'll stick to sudo for the moment. With sudo you really don't have to do anything special to get it to work, you just type sudo and then the command, or sudo -s to bring you into a sudo shell. While I'm not saying op requires a whole lot of effort, the script looks simple as cake, I don't want to have to manage it. I just want to type the command like it is and how it is.
Offline
thats cool .....
Just thinking that opening up user to do everything with the same rights as root ...is to me :shock:
But I would rather allow only certain commands to run as user ie halt mount...
pacman maybe not
it can do other things as well ..... like start & stop apache but you can do that anyway
So ... np
I'll use it for the moment till I get bored ;-)
Mr Green
Offline
hmm. op looked to have much more intuitive syntax than sudo.
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
I added ....
dvd /bin/mount /dev/hdc /mnt/dvd
eject /usr/bin/eject
halt /sbin/halt
messages /bin/cat /var/log/messages
upgrade /usr/bin/pacman -Syu
* note upgrade still requires a user password
Again they are examples
Mr Green
Offline
I added ....
[ ~ ] > op -l
dvd /bin/mount /dev/hdc /mnt/dvd
eject /usr/bin/eject
halt /sbin/halt
messages /bin/cat /var/log/messages
upgrade /usr/bin/pacman -Syu
[ ~ ] >
* note upgrade still requires a user password
Again they are examples
Mr Green
Offline
Pages: 1