RSH password problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers RSH password problem
# 1  
Old 03-23-2006
RSH password problem

Hello,

I am currently trying to execute a command in a Windows machine from a UNIX server. In order to do this, I am using the RSH command in UNIX but whenever i do this I am getting this error "RSHD: <username>: could not retrieve password: Please login and run rsetup."

I log in via the rlogin and run rsetup then inputted the password. So by this time I am assuming that password has been setup for my username. I tried to reexecute the command but still got the same error: RSHD: <username>: could not retrieve password: Please login and run rsetup.

I hope you can assist me with this
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Help with rsh problem

Hi all, just after a bit of help.. I am attempting to read in the contents of a flat text file from one system to another using 'rsh', i have this setup over around 15 machines and it works for them all except one. On this one machine it just reads in a blank line for some reason. The machine... (21 Replies)
Discussion started by: forefather1977
21 Replies

2. Shell Programming and Scripting

rsh login to host with password

Hello, iḿ rather new to writing scripts in UNIX so i thought this would be a good start. I need to write a script that can login to different hosts in a standalone network. That means there are no connection to Internet etc. I need to collect some data on the hosts, and they have different... (11 Replies)
Discussion started by: topy
11 Replies

3. UNIX for Dummies Questions & Answers

Problem using RSH

Hi, I have an old solaris 2.6 box and I need to copy all the data from the hard drive onto another machine. It does not have ssh installed so I am forced to use rsh. My plan was to execute the rcp command from the solaris box to a Centos 5 machine. I have installed rsh client and server on my... (1 Reply)
Discussion started by: mojoman
1 Replies

4. UNIX for Dummies Questions & Answers

Strange problem with rsh

Hello All, I'm facing a weird problem with rsh. There are 2 machines: host1.domain1.com and host2.domain2.com. I have setup $HOME/.rhosts file in both the hosts. When I login to host2.domain2.com and issue: $ rsh host1 It works fine but when I login to host1.domain1.com and... (2 Replies)
Discussion started by: sacguy08
2 Replies

5. UNIX for Dummies Questions & Answers

rsh as super user without password prompt

Dear forum, First off, I'm using Solaris 5.6 UNIX. I'm trying to write a script which will connect to remote computers on a network (by specific IP's from a hosts file) and will run a separate script which is installed in each of the remote computers. My problem is that to run the script in the... (1 Reply)
Discussion started by: TheMightyUrrrrf
1 Replies

6. Shell Programming and Scripting

rsh problem

Dear, I am trying to execute a script in the X machine by remote logging from machine Y. Note that in the X machine in host file the ip and the hostname of the Y is defined and in the .rhosts the hostname and the username of the Y is defined. By using the following: rsh X -l username -n "sh... (0 Replies)
Discussion started by: tontal
0 Replies

7. Shell Programming and Scripting

rsh problem

I tried to execute by rsh a script, but I did not succeed. You can execute only commnads (not scripts) by rsh or there are some other restrictions?!? root@a1 #pwd / root@a1 #rsh a2 monitor ksh: monitor: not found On the other hand: root@a1 #rsh a2 root@a2 #pwd / root@a2 #ls monitor... (9 Replies)
Discussion started by: heartwork
9 Replies

8. Shell Programming and Scripting

rsh problem

hey, I'v a problem when I use rsh. When it logs in, it goes my home directory. I want it to go directly to my working directory. An idea I had was to redirect pwd to a file (pwd > somefile) and then once I'v rsh'd, cd to that path. I don't know how to read from the file to use as a parameter for... (2 Replies)
Discussion started by: Bacchus
2 Replies

9. Shell Programming and Scripting

rsh problem

Hi, I am using rsh command in scripting. But I wan to run the script as a bg process. When I run the script, it says stopped. My doubt is ....if I use the rsh in scripting ......bg is possible or not ??? EX: test-rsh rsh 172.16.73.38 df -k >DF.log Result when I run this script ... (5 Replies)
Discussion started by: vastare
5 Replies

10. UNIX for Dummies Questions & Answers

problem with rsh

Hi all I have checked the archives and cannot find a solution. I get a permission denied error, however all the suggestions donot help. here is the scenario root@OPSBOX#/>rsh OPSBOX ls -l rshd: 0826-813 Permission is denied. root@OPSBOX#/>pg .rhosts OPSBOX root OPSBOX ... (1 Reply)
Discussion started by: jhansrod
1 Replies
Login or Register to Ask a Question
WBINFO(1)																 WBINFO(1)

NAME
wbinfo - Query information from winbind daemon SYNOPSIS
wbinfo [ -u ] [ -g ] [ -h name ] [ -i ip ] [ -n name ] [ -s sid ] [ -U uid ] [ -G gid ] [ -S sid ] [ -Y sid ] [ -t ] [ -m ] [ -r user ] [ -a user%password ] [ -A user%password ] DESCRIPTION
This tool is part of the Samba suite. The wbinfo program queries and returns information created and used by the winbindd(8) daemon. The winbindd(8) daemon must be configured and running for the wbinfo program to be able to return information. OPTIONS
-u This option will list all users available in the Windows NT domain for which the winbindd(8) daemon is operating in. Users in all trusted domains will also be listed. Note that this operation does not assign user ids to any users that have not already been seen by winbindd(8). -g This option will list all groups available in the Windows NT domain for which the winbindd(8) daemon is operating in. Groups in all trusted domains will also be listed. Note that this operation does not assign group ids to any groups that have not already been seen by winbindd(8). -h name The -h option queries winbindd(8) to query the WINS server for the IP address associated with the NetBIOS name specified by the name parameter. -i ip The -i option queries winbindd(8) to send a node status request to get the NetBIOS name associated with the IP address specified by the ip parameter. -n name The -n option queries winbindd(8) for the SID associated with the name specified. Domain names can be specified before the user name by using the winbind separator character. For example CWDOM1/Administrator refers to the Administrator user in the domain CWDOM1. If no domain is specified then the domain used is the one specified in the smb.conf workgroup parameter. -s sid Use -s to resolve a SID to a name. This is the inverse of the -n option above. SIDs must be specified as ASCII strings in the tradi- tional Microsoft format. For example, S-1-5-21-1455342024-3071081365-2475485837-500. -U uid Try to convert a UNIX user id to a Windows NT SID. If the uid specified does not refer to one within the winbind uid range then the operation will fail. -G gid Try to convert a UNIX group id to a Windows NT SID. If the gid specified does not refer to one within the winbind gid range then the operation will fail. -S sid Convert a SID to a UNIX user id. If the SID does not correspond to a UNIX user mapped by winbindd(8) then the operation will fail. -Y sid Convert a SID to a UNIX group id. If the SID does not correspond to a UNIX group mapped by winbindd(8) then the operation will fail. -t Verify that the workstation trust account created when the Samba server is added to the Windows NT domain is working. -m Produce a list of domains trusted by the Windows NT server winbindd(8) contacts when resolving names. This list does not include the Windows NT domain the server is a Primary Domain Controller for. -r username Try to obtain the list of UNIX group ids to which the user belongs. This only works for users defined on a Domain Controller. -a username%password Attempt to authenticate a user via winbindd. This checks both authenticaion methods and reports its results. -A username%password Store username and password used by winbindd during session setup to a domain controller. This enables winbindd to operate in a Win- dows 2000 domain with Restrict Anonymous turned on (a.k.a. Permissions compatiable with Windows 2000 servers only). EXIT STATUS
The wbinfo program returns 0 if the operation succeeded, or 1 if the operation failed. If the winbindd(8) daemon is not working wbinfo will always return failure. VERSION
This man page is correct for version 2.2 of the Samba suite. SEE ALSO
winbindd(8) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. wbinfo and winbindd were written by Tim Potter. The conversion to DocBook for Samba 2.2 was done by Gerald Carter 19 November 2002 WBINFO(1)