Re: Enabling telnet, ftp, pop3 for root...
- From: matt_left_coast <not@xxxxxxxxxx>
- Date: Mon, 10 Apr 2006 15:35:14 -0700
Ertugrul Soeylemez wrote:
matt_left_coast <not@xxxxxxxxxx> (06-04-06 19:18:15):
I notice that you did not address BOTH the issues I raised. It
would be impossible to admin a system without giving access to an
editor as root. In that case, logging is disabled. Might just as
well give them access to a shell.
It is possible. You can write small wrapper scripts or programs,
which copy some file in user's writable space over the actual
configuration file. This allows the user to edit configuration
files without needing to use an editor as root.
However, the configuration files themselves may raise security
risks. One good reason to read the docs and be very careful.
Dude, you can edit scripts and run them AS ROOT and only the name of
the script is logged by sudo.
I write a program, which does nothing more than copying a file from the
writable space of a user over a system-wide configuration file. That
program is owned by root:root and has the SetUID bit. The configuration
file is not dangerous. This should be perfectly secure.
How? How would your "script" Prevent
vi /etc/init.d/crond
/etc/init.d/crond start
?
Regards.
--
.
- Follow-Ups:
- Re: Enabling telnet, ftp, pop3 for root...
- From: Ertugrul Soeylemez
- Re: Enabling telnet, ftp, pop3 for root...
- References:
- Re: Enabling telnet, ftp, pop3 for root...
- From: Ertugrul Soeylemez
- Re: Enabling telnet, ftp, pop3 for root...
- From: Sybren Stuvel
- Re: Enabling telnet, ftp, pop3 for root...
- From: Ertugrul Soeylemez
- Re: Enabling telnet, ftp, pop3 for root...
- From: Michael Trausch
- Re: Enabling telnet, ftp, pop3 for root...
- From: matt_left_coast
- Re: Enabling telnet, ftp, pop3 for root...
- From: Michael Trausch
- Re: Enabling telnet, ftp, pop3 for root...
- From: matt_left_coast
- Re: Enabling telnet, ftp, pop3 for root...
- From: Ertugrul Soeylemez
- Re: Enabling telnet, ftp, pop3 for root...
- From: matt_left_coast
- Re: Enabling telnet, ftp, pop3 for root...
- From: Ertugrul Soeylemez
- Re: Enabling telnet, ftp, pop3 for root...
- Prev by Date: Re: Enabling telnet, ftp, pop3 for root...
- Next by Date: Re: Enabling telnet, ftp, pop3 for root...
- Previous by thread: Re: Enabling telnet, ftp, pop3 for root...
- Next by thread: Re: Enabling telnet, ftp, pop3 for root...
- Index(es):
Relevant Pages
|