← Back to team overview

sslug-teknik team mailing list archive

Re: Remote Execute - Rexec/Rexecd

 

Sidder og roder på web .... et lille uddrag jeg fandt på redhat.com der
måske kan være nyttigt:

11.6.5 Rexec and PAM

For security reasons, rexec is not enabled in Red Hat Linux 6.0. Should
you wish to enable it, you will need to comment out one line in the file

/etc/pam.d/rexec. Here is a sample of the file (note that your file may
differ slightly):

#auth       required     /lib/security/pampwdb.so shadow nullok
auth       required     /lib/security/pamnologin.so
account    required     /lib/security/pampwdb.so

To enable rexec, the line referring to the pam_nologin.so module must be
commented out:

#auth       required     /lib/security/pampwdb.so shadow nullok
#auth       required     /lib/security/pamnologin.so
account    required     /lib/security/pampwdb.so

After this file is modified, rexec will be enabled.

Please Note: If your /etc/pam.d/rexec file contains a line referring to
the pam_securetty.so module, you will not be able to rexec as root. To
do so, you
must also comment out the line referring to the pam_securetty.so module.



niko digiweb wrote:

>                                                    Kbh 19990721
> .... snip
> At få rexecd til at køre...
> .... snip
>
> Jeg kører dæmonen, og den lytter til TCP port 512 som den skal...
> Der sker bare ikke noget når man connecter til den...
> Jeg går ud fra at dæmonen kører, når den lytter til porten...
>
> >men "rexec -l frank localhost ls" skal først bringes til at virke
> >inden man går videre....
>
> rexec -llogin -ppassword enikkelinuxhost kommando ... kan jeg godt.
> rexec -llogin -ppassword linuxhost kommando ... kan jeg ikke.
>
> Ish bin auf bar bund
>
> Mvh
>     -nik @ digiweb
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com



References