Re: Firefox 1.5.0.7 RPM
- From: Vahis <waxborg@xxxxxxxxxxxxxxxx>
- Date: Sun, 17 Sep 2006 21:52:35 +0300
houghi wrote:
Vahis wrote:
I hope the fixed that in 10.2. OTOH I run YaST with sudo, so I don'tI need root password to sudo. I have not added myself to sudoers,
need to enter a password. Go figure. :-)
because sudoers can do just as stupid things as root. The comfort
there is, though, that they leave a better trace on the logs than
root...
Not true. sudoers can do stupid things as root for those things that yoi
*allow* them to do. This is what I have added in sudoers:
houghi ALL=NOPASSWD: /bin/mount, /bin/umount, /usr/bin/tail,
/usr/lib/YaST2/bin/y2controlcenter
This means I can run /usr/lib/YaST2/bin/y2controlcenter, yet not things
like `rpm -e yast` or `yast -i whatever` or rug or anything else.
Thsi means that I have about the same risk to do stupid things as you
have with zen.
That's cool I admit. I have another reason to require root
password from myself. Although I'm only fooling around with 6
machines I want to be asked for root passwords, I'd forget them
otherwise, since they are pretty strong.
That's exactly what happened to the phone number memory in my
head (there were like 100 to 150 of them, like 50 with a country
and area code) when the numbers got saved in cellphones.
Nowadays I don't remember them at all anymore, not to mention
different country and area codes. I'm happy if I can remember the
names I saved.
sudoers is much more then giving a user root priveliges or not. You can
decide exactly what rights people do get and what they don't get.
You can even take away the ability to do sudo (don't forget to take away
the rights to su as well)
Then you can either add just one or several users to be allowed to do
su and/or sudo or make a group that is allowed to do so and add users
there.
That's what one must do when administrating other users. I'm on
my own, though :)
Then about the tracability. This is what is looged when I do `sudo
/usr/bin/tail -f /var/log/messages`
Sep 17 19:52:15 penne sudo: houghi : TTY=pts/6 ; PWD=/home ; USER=root
; COMMAND=/usr/bin/tail -f /var/log/messages
Naturaly you don't want to type `sudo /dir/to/program`, so you could do
add the following to ~/.alias:
alias tail='sudo /usr/bin/tail'
That way I only have to type `tail -f /var/log/messages`
Now I do normaly a ccze (http://freshmeat.net/projects/ccze/) after a
tail, so for me a script called stail would be easier:
#!/bin/bash
/usr/bin/tail $1 $2 | /usr/local/bin/ccze
Looks interesting, I'll have to look into it closer.
Vahis
--
Sometimes I reply to top posters. Seldom. And usually just once.
Motorcycling, Boating and SUSE Linux:
http://waxborg.servepics.com
.
- Follow-Ups:
- Re: Firefox 1.5.0.7 RPM
- From: houghi
- Re: Firefox 1.5.0.7 RPM
- References:
- Firefox 1.5.0.7 RPM
- From: Claude
- Re: Firefox 1.5.0.7 RPM
- From: Vahis
- Re: Firefox 1.5.0.7 RPM
- From: Claude
- Re: Firefox 1.5.0.7 RPM
- From: Claude
- Re: Firefox 1.5.0.7 RPM
- From: Vahis
- Re: Firefox 1.5.0.7 RPM
- From: houghi
- Re: Firefox 1.5.0.7 RPM
- From: Vahis
- Re: Firefox 1.5.0.7 RPM
- From: houghi
- Firefox 1.5.0.7 RPM
- Prev by Date: Re: Firefox 1.5.0.7 RPM
- Next by Date: Re: Firefox 1.5.0.7 RPM
- Previous by thread: Re: Firefox 1.5.0.7 RPM
- Next by thread: Re: Firefox 1.5.0.7 RPM
- Index(es):
Relevant Pages
|