Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Need a refresher on the Berkeley r-commands

 
   Soft32 Home -> Linux -> Networking RSS
Next:  [Samba] Samba4. Provision script fails.  
Author Message
Ramon F Herrera

External


Since: Apr 18, 2007
Posts: 20



(Msg. 1) Posted: Mon Jul 13, 2009 11:56 am
Post subject: Need a refresher on the Berkeley r-commands
Archived from groups: comp>os>linux>networking (more info?)

Hello,

It has been ages since I did this, so bear with me.

I need to temporarily set up the old-fashioned Berkeley r-commands in
my Linux server (yes, I am using ssh these days).

I vaguely remember these steps:

- I used to add the name of the allowed hosts in:

/etc/hosts (or was it /etc/rhosts)?

- There was a dot file in the user home directory that could be used,
too. Was it .rhosts??

- I used to create a hard link to some executable somewhere (?) with
the name of the target host, so I could type this:

% somehost date

Can somebody please review the above steps??

I created the file below with the filename /etc/xinetd.d/rsh. I sent a
HUP to the xinetd, but the rsh or rcp command do not work.

The following commands fail to show a listener in port 514:

% netstat -an | grep 514

-Ramon

---------------------------------

service rsh
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsh
server_args = --daemon
log_on_failure += USERID
}
Back to top
Login to vote
Ramon F Herrera

External


Since: Apr 18, 2007
Posts: 20



(Msg. 2) Posted: Mon Jul 13, 2009 12:02 pm
Post subject: Re: Need a refresher on the Berkeley r-commands [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 13, 2:56 pm, Ramon F Herrera <ra... DeleteThis @conexus.net> wrote:
> Hello,
>
> It has been ages since I did this, so bear with me.
>
> I need to temporarily set up the old-fashioned Berkeley r-commands in
> my Linux server (yes, I am using ssh these days).
>
> I vaguely remember these steps:
>
> - I used to add the name of the allowed hosts in:
>
> /etc/hosts (or was it /etc/rhosts)?
>
> - There was a dot file in the user home directory that could be used,
> too. Was it .rhosts??
>
> - I used to create a hard link to some executable somewhere (?) with
> the name of the target host, so I could type this:
>
> % somehost date
>
> Can somebody please review the above steps??
>
> I created the file below with the filename /etc/xinetd.d/rsh. I sent a
> HUP to the xinetd, but the rsh or rcp command do not work.
>
> The following commands fail to show a listener in port 514:
>
> % netstat -an | grep 514
>
> -Ramon
>
> ---------------------------------
>
> service rsh
> {
>         disable         = no
>         socket_type     = stream
>         wait            = no
>         user            = root
>         server          = /usr/bin/rsh
>         server_args     = --daemon
>         log_on_failure  += USERID
>
> }
>
>

I guess my main question is:

Where the heck is rshd??

-Ramon
Back to top
Login to vote
Ramon F Herrera

External


Since: Apr 18, 2007
Posts: 20



(Msg. 3) Posted: Mon Jul 13, 2009 1:52 pm
Post subject: Re: Need a refresher on the Berkeley r-commands [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 13, 3:27 pm, Bill Marcum <marcumb....TakeThisOut@bellsouth.net> wrote:
> On 2009-07-13, Ramon F Herrera <ra....TakeThisOut@conexus.net> wrote:
>
> > I guess my main question is:
>
> > Where the heck is rshd??
>
> > -Ramon
>

> Probably not installed by default. Ubuntu has an rsh-server
package.

Yep - That was it. Things are working now.

Thx!

-Ramon
Back to top
Login to vote
Bill Marcum

External


Since: Dec 17, 2006
Posts: 154



(Msg. 4) Posted: Mon Jul 13, 2009 3:20 pm
Post subject: Re: Need a refresher on the Berkeley r-commands [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2009-07-13, Ramon F Herrera <ramon RemoveThis @conexus.net> wrote:
>
> I guess my main question is:
>
> Where the heck is rshd??
>
> -Ramon
>
Probably not installed by default. Ubuntu has an rsh-server package.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WiFi browsing for Windows, but not for Linux? - That seems to be the problem a colleague of mine is currently experiencing in France. Details here: ..

Setting up iwlwifi and wpa supplicant on Fedora 7 - Could someone give me the steps (script) to setup iwlwifi for WPA. I have iwlwifi installed from the Fedora..

VPN OpenSwan&Xl2tp problem with big udp packets - Hi all, I'm having a problem with my vpn server using openswan et xl2tp on a gentoo linux. All the tcp traffic seems....

Hacked, now trying to disinfect - Yeah, i know, it can't happen in Linux. But it has been happening to our work servers for several months. Due to poor....

[gentoo-dev] DEPEND vs. RDEPEND refresher - A lot of ebuilds are turning up with screwy DEPEND vs. RDEPEND settings. When working with ebuilds, please keep in min...

Berkeley DB 4.1 on RedHat 6.1? - Hi, I need to install Berkeley DB 4.1 on an old RedHat 6.1 server. Would someone have advice on the best way? The onl...
       Soft32 Home -> Linux -> Networking All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]