Re: dangerous to leave root logged in?
From: Unruh (unruh-spam_at_physics.ubc.ca)
Date: 03/29/05
- Previous message: Keith Keller: "Re: dangerous to leave root logged in?"
- In reply to: Trygve Selmer: "Re: dangerous to leave root logged in?"
- Next in thread: Keith Keller: "Re: dangerous to leave root logged in?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Mar 2005 02:36:36 GMT
Trygve Selmer <trselmer@start.no> writes:
>hans_schulze98@yahoo.de wrote:
>> Keith Keller wrote:
>>
>>>On 2005-03-28, hans_schulze98@yahoo.de <hans_schulze98@yahoo.de>
>> There's a tool here that checks for updates and tells me which ones are
>> out there (about 1 per day), what it updated and why. Every time it
>> starts it hogs the cpu and disk for 2 minutes (rpm database or
>> whatnot), and you have to stare at the screen for 2 minutes before it
>> runs. Or you just leave it running (which I do).
>This is what cron is all about.
Well, that would not solve his problem, except that he should run it at 3AM
or whenever noone is using the system.
>> There's some email sent to root about small things here and then. You
>> can periodically log in to see if there's mail. Or you leave the mailer
>> running (which I do).
?? No idea what you mean. Mailer programs (postfix for example) do run all
the time.
>Make an alias from root to a regular user (your own user account).
>> There's small jobs to do with changing config files or changing file
>> permissions or moving files between accounts here and then. You can su
>> each time. Or you leave a root xterm running.
>This is why we have su/sudo.
Lousy reason. Just su from your own account. Unless you do not care if any
of your users can run whatever they want as root. I hope you have no
enemies amongst your users.
>> And so on. Probably everything can be done with su/sudo per-command,
>> probably even on a text terminal. It only takes twice as much typing.
>Use ssh to connect remotely for this kind of jobs, even if it means you
>have to learn basic CLI programs. X is overkill and unsafe.
Agreed
- Previous message: Keith Keller: "Re: dangerous to leave root logged in?"
- In reply to: Trygve Selmer: "Re: dangerous to leave root logged in?"
- Next in thread: Keith Keller: "Re: dangerous to leave root logged in?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]