Re: Secure remote shell



On 11:28:24 Nov 29, Olivier Nicole wrote:
Hi,

Part of (un)registerings users on my system consists in connecting to
various servers to add the user account to some services:

Registering users is done wia a web page, and the web server will
remote execute a script on the mail server to add the users in the
aliases and run newaliases, remote execute a script to the radius
server to add the user in the radius tables and restart radius, etc.

Of course all the remote execution should be done as root :(


No. Use sudo(8)

And tighten it up. Giving remote users root access should never ever be
done.

Typically each user should run a suid script or something.

So far, one specific user from the web server can rsh -l root to the

rsh? Are you living in a cave? :)

ssh(8) was released several years ago.

rsh is horribly insecure and broken whereas ssh(8) has an excellent
security track record.

-Girish
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Secure remote shell
    ... Registering users is done wia a web page, and the web server will ... remote execute a script on the mail server to add the users in the ... server to add the user in the radius tables and restart radius, ... one specific user from the web server can rsh -l root to the ...
    (freebsd-questions)
  • Secure remote shell
    ... Registering users is done wia a web page, and the web server will ... remote execute a script on the mail server to add the users in the ... server to add the user in the radius tables and restart radius, ... one specific user from the web server can rsh -l root to the ...
    (freebsd-questions)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script Runs perfectly fine from the command prompt. ... # This is the main Apache HTTP server configuration file. ... LoadModule actions_module modules/mod_actions.so ...
    (perl.beginners)
  • Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)