Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Why i cannot execute remotely soffice with this new user ? Post 302593497 by Robert2011 on Friday 27th of January 2012 04:56:12 AM
Old 01-27-2012
Thanks vbe for this quick answer ! You are right : usertest has no permissions to read the file ".rhosts". The home directory of usertest is the same home directory as the other user R.

I guess it is the responsability of the adminstrator to create a home directory for this user ? What do you think ? How can I change the perm on .rhosts for user 'usertest' .
 

10 More Discussions You Might Find Interesting

1. AIX

How to remotely execute a script on a VMS system ?

How to remotely execute a script on a VMS system ? rsh ? Thanks in advance (0 Replies)
Discussion started by: ivancleber
0 Replies

2. UNIX for Advanced & Expert Users

How to remotely execute a script (.COM ) on a VMS system ?

How to remotely execute a script (.COM ) on a VMS system ? rsh ? Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies

3. Shell Programming and Scripting

How to remotely execute a script (.COM ) on a VMS system ?

How to remotely execute a script (.COM ) on a VMS system ? rsh ? Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies

4. Linux

execute a program remotely using putty

hi all. I have a small program on a debian server which i need to execute remotely from a windows machine using putty. when i use putty to execute the program it starts running , but when i close the session the program stops running on the debian server as well. Can anyone guide me how... (4 Replies)
Discussion started by: coolatt
4 Replies

5. Shell Programming and Scripting

Remotely Execute a script

Hi, What is the best way to remotely execute a script? Scenario: 1 Unix box creates a file and moves it to a 2nd unix box 2nd unix box must then move the file to a windows server How can i execute the ftp script on the 2nd server, I need to schedule the command to automate it!? I... (3 Replies)
Discussion started by: mcclunyboy
3 Replies

6. Shell Programming and Scripting

ssh execute command remotely

Hi all, Today I want to write a script to run the commands remotely. If I run the command as follows: ssh <user>@<ip> 'ls; pwd' it works fine. But when I want to use ssh to set view in clearcase, it will lose the response. as follows ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies

7. Solaris

how to execute shell script present in unix machine remotely from windows

how to execute shell script present in unix machine remotely from windows? I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros. Thanks In Advance. --Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies

8. Shell Programming and Scripting

Need help to execute the shell remotely

Hi All, I have a typical problem where I have HP unix and want to connect to Solaris 5.10 box and run a shell. I tried with multiple forums but it does not help. As per my analysis, there is no ssh in my machine and so i cant connect to solaris box,secondly ftp to the solaris server is not... (2 Replies)
Discussion started by: cskumar
2 Replies

9. Shell Programming and Scripting

[perl] execute remotely script

Hello Can some help with write part of perl script I need something like this in perl SSH="/bin/ssh -o BatchMode=yes -o" USER="test" SRV="server" SCRIPT_TO_EXEC="/tmp/test.sh" -> shell script OUT=/tmp/out.file ${SSH} -l ${USER} ${SRV} 'sudo /usr/bin/ksh -s' < ${SCRIPT_TO_EXEC} >> ${OUT}... (1 Reply)
Discussion started by: vikus
1 Replies

10. Shell Programming and Scripting

How to execute command remotely as sudo and save the output locally?

Hello , I am trying to run a NetBackup command in remote server. Also this command can only be run by root so I am using sudo . Also I want the output of the command locally in a file. The below command asked for password , ran successfully and showed Output on my local server screen ... (2 Replies)
Discussion started by: rahul2662
2 Replies
HOSTS.EQUIV(5)						      BSD File Formats Manual						    HOSTS.EQUIV(5)

NAME
hosts.equiv, .rhosts -- trusted remote hosts and host-user pairs DESCRIPTION
The hosts.equiv and .rhosts files list hosts and users which are ``trusted'' by the local host when a connection is made via rlogind(8), rshd(8), or any other server that uses ruserok(3). This mechanism bypasses password checks, and is required for access via rsh(1). Each line of these files has the format: hostname [username] The hostname may be specified as a host name (typically a fully qualified host name in a DNS environment) or address, +@netgroup (from which only the host names are checked), or a ``+'' wildcard (allow all hosts). The username, if specified, may be given as a user name on the remote host, +@netgroup (from which only the user names are checked), or a ``+'' wildcard (allow all remote users). If a username is specified, only that user from the specified host may login to the local machine. If a username is not specified, any user may login with the same user name. EXAMPLES
somehost A common usage: users on somehost may login to the local host as the same user name. somehost username The user username on somehost may login to the local host. If specified in /etc/hosts.equiv, the user may login with only the same user name. +@anetgroup username The user username may login to the local host from any machine listed in the netgroup anetgroup. + + + Two severe security hazards. In the first case, allows a user on any machine to login to the local host as the same user name. In the second case, allows any user on any machine to login to the local host (as any user, if in /etc/hosts.equiv). WARNINGS
The username checks provided by this mechanism are not secure, as the remote user name is received by the server unchecked for validity. Therefore this mechanism should only be used in an environment where all hosts are completely trusted. A numeric host address instead of a host name can help security considerations somewhat; the address is then used directly by iruserok(3). When a username (or netgroup, or +) is specified in /etc/hosts.equiv, that user (or group of users, or all users, respectively) may login to the local host as any local user. Usernames in /etc/hosts.equiv should therefore be used with extreme caution, or not at all. A .rhosts file must be owned by the user whose home directory it resides in, and must be writable only by that user. Logins as root only check root's .rhosts file; the /etc/hosts.equiv file is not checked for security. Access permitted through root's .rhosts file is typically only for rsh(1), as root must still login on the console for an interactive login such as rlogin(1). FILES
/etc/hosts.equiv Global trusted host-user pairs list ~/.rhosts Per-user trusted host-user pairs list SEE ALSO
rcp(1), rlogin(1), rsh(1), rcmd(3), ruserok(3), netgroup(5) HISTORY
The .rhosts file format appeared in 4.2BSD. BUGS
The ruserok(3) implementation currently skips negative entries (preceded with a ``-'' sign) and does not treat them as ``short-circuit'' neg- ative entries. BSD
November 26, 1997 BSD
All times are GMT -4. The time now is 01:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy