04-12-2004
You must have both hosts in the other box's ~/.rhosts file for root or for the user that you have on both boxes.
zambezi root # in mocuba's .rhosts file
mocuba root # in zambezi .rhosts file
Use the full domain path if they are on different domains.
You must have user equivalency on both boxes to use rcp...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is my first post, so first I'd like to say hello to everyone.
Here's the issue I'm having...I run a macro against multiple log files every morning. The procedure is sort of time consuming. I have to log into the box where there are stored, then ftp/download them to my local drive using... (3 Replies)
Discussion started by: jhofilena
3 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I want to shutdown the server if no one is actualy using it. Its a linux server.
I thought of sending a msg on users terminal for those who all are logged in and expecting a input from them.
If they will reply system should not get shutdown else it should not.
Can any one... (2 Replies)
Discussion started by: Sadhana
2 Replies
3. Linux
All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies
4. Red Hat
Hi,
Please could someone advise I'm trying to use winscp from a Window server 2008 R2, but i need to add the authentication key to access the linux rh 5.4 servers ?
What is the best way of approaching this ?
If there are any web links that could help me do this, that would be good.
... (1 Reply)
Discussion started by: venhart
1 Replies
5. Shell Programming and Scripting
We would be migrating unix solaries to Linux redhat.
Basically source is unix and target is linux.
i would like to copy entire file system unix/source/* to target linux/souce/*
but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies
6. Shell Programming and Scripting
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies
7. Shell Programming and Scripting
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies
8. Homework & Coursework Questions
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (2 Replies)
Discussion started by: manjusharma128
2 Replies
9. Linux
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
Discussion started by: manjusharma128
0 Replies
10. Windows & DOS: Issues & Discussions
Hi,
I am a newbie and has been given a task to connect to a windows server from a linux server (using putty of course; for file transfer) that too passwordless.
Searching through google I found "ssh-keygen" but this also couldn't work because as I tried ssh <username>@<windowsServerIP>, it says... (5 Replies)
Discussion started by: pratria
5 Replies
ruserok(3) Library Functions Manual ruserok(3)
NAME
ruserok - Allows servers to authenticate clients
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <unistd.h>
int ruserok ( char *host, int root_user, char *remote_user, char *local_user );
PARAMETERS
Specifies the name of a remote host. Specifies a value to indicate whether the effective user ID of the calling process is that of a root
user. A value of 0 (zero) indicates the process does not have a root user ID. A value of 1 indicates that the process has local root user
privileges, and the /etc/host.equiv file is not checked. Points to a username that is valid at the remote host. Any valid username can be
specified. Points to a username that is valid at the local host. Any valid username can be specified.
DESCRIPTION
The ruserok() (remote command user OK) function allows servers to authenticate clients requesting services.
The hostname must be specified. If the local domain and remote domain are the same, specifying the domain parts is optional. To determine
the domain of the host, use the gethostname() function. The ruserok() function checks for this host in the /etc/host.equiv file. Then, if
necessary, the subroutine checks a file in the user's home directory at the server called $HOME/.rhosts for a host and remote user ID.
RETURN VALUES
The ruserok() function returns 0 (zero) if the subroutine successfully locates the name specified by the host parameter in the
/etc/hosts.equiv file or if the IDs specified by the host and remote_user parameters are found in the $HOME/.rhosts file.
If the name specified by the host parameter was not found, the ruserok() function returns a value of -1.
FILES
Contains service names. Specifies foreign hostnames. Specifies the remote users of a local user account.
RELATED INFORMATION
Functions: gethostname(2), rcmd(3), rresvport(3), sethostname(2)
Commands: rlogind(8), rshd(8) delim off
ruserok(3)