Why i cannot execute remotely soffice with this new user ?


 
Thread Tools Search this Thread
# 8  
What about the other way round?
who are you on machineA when you remsh?
# 9  
Thank you for the quick answer.

I cannot remsh from machineA to machineB :
ksh: remsh: not found


What should i ask to the admin to fix this issue ?

Last edited by Robert2011; 01-30-2012 at 07:08 AM..
# 10  
What kind of box is machineA then?
(We agree machineB is a linux, yes?)

...
Wonder if its not because there is no .profile... copy yours or the one of oias in usertest's directory and see if it changes anything..
BTW to see the properties of usertest, just type id as usertest, or (may not work on all systems...) type:
Code:
id usertest


Last edited by vbe; 01-30-2012 at 10:12 AM..
# 11  
Hi,

Machine A(remote machine) : Linux S248-22 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386

Machine B( local machine ) : HP-UX eclat B.11.11 U 9000/800 1165454651 unlimited-user license.

I copied .profile into usertest's home in machine A. But i am still prompted for password when i do remsh machineA -l usertest.

On machineA when i do id usertest :
uid=502(usertest) gid=500(oinstall) groupes=500(oinstall)

for oias (user not prompted for password) :
uid=501(oias) gid=500(oinstall) groupes=500(oinstall)
# 12  
Who are you when on machineB you remsh ?
You must be usertest...
# 13  
Hi again; Thanlks for all the support.

Basically on machine B i connect with user amd.
From machine B i remsh successfully to machine A with user oias but i am prompted for user usertest.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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

Featured Tech Videos