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
sec_create_db(1m)														 sec_create_db(1m)

NAME
sec_create_db - registry database creation utility SYNOPSIS
sec_create_db {-master | -slave} -my[name] my_server_name [-cr[eator] creator_name] [-cu[nix_id] creator_unix_id] [-g[roup_low_id] g_unix_id] [-k[eyseed] keyseed] [-ma[x_unix_id] max_unix_id] [-o[rg_low_unix_id] o_unix_id] [-pa[ssword] default_password] [-p[erson_low_unix_id] p_unix_id] [-u[uid cell_uuid] [-v[erbose]] OPTIONS
Specifies whether the database for the master replica should be created (-master) or a database for a slave replica should be created (-slave). All other sec_create_db options can be used with the -master option. Only the -myname, -keyseed, and -verbose options can be used with the -slave option. Specifies the name that will be used by the Directory Service to locate the machine on which the cell's Secu- rity Server is running. Specifies the principal name of the initial privileged user of the registry database (known as the "registry cre- ator"). Specifies the UNIX ID of the initial privileged user of the registry database. If you do not enter the UNIX ID, it is assigned dynamically. Specifies the starting point for UNIX IDs automatically generated by the Security Service when groups are added with the rgy_edit command. Specifies a character string used to seed the random key generator in order to create the master key for the database you are creating. It should be string that cannot be easily guessed. The master key is used to encrypt all account passwords. Each instance of a replica (master or slave) has its own master key. You can change the master key using the sec_admin command. Specifies the highest UNIX ID that can be assigned to a principal, group, or organization. Specifies the starting point for UNIX IDs automatically gen- erated by the Security Service when organizations are added with the rgy_edit command. The default password assigned to the accounts cre- ated by sec_create_db, including the account for the registry creator. If you do not specify a default password, -dce- is used. (Note that the hosts/local_host/self none none, krbtgt/cell_name none none, and nobody none none accounts are not assigned the default password, but instead a randomly generated password.) Specifies the starting point for UNIX IDs automatically generated by the Security Service when principals are added with the rgy_edit command. Specifies the cell's UUID. If you do not enter this UUID, it is assigned dynamically. Specifies that sec_create_db runs in verbose mode and displays all activity. DESCRIPTION
The sec_create_db tool creates new master and slave databases in dcelocal/var/security/rgy_data on the machine from which sec_create_db is run. Normally, these databases are created only once by the system configuration tool, dce_config. However, you can use sec_create_db if you need to re-create the master or a slave databse from scratch. You must be root to invoke sec_create_db. The sec_create_db -master option creates the master database on the machine on which it is run. This database is initialized with names and accounts, some of them reserved. You must use the rgy_edit command to populate the database with objects and accounts. When the master registry database is created, default ACL entries for registry objects are also created. These entries give the most priv- ileged permission set to the principal named in the -cr[eator] option. If the principal is not one of the reserved names and accounts, sec_create_db adds it as a new principal and adds an account for that new principal. If the -cr option is not used, root is the creator. The sec_create_db -slave option creates a slave database on the machine on which it is run. This command creates a stub database on the local node in dcelocal/var/security/rgy_data and adds the newly created replica to the master's replica list. The master then marks the replica to be initialized when a Security Server is started on the slave's node. The sec_create_db command also creates a registry configuration file, named dcelocal/etc/security/pe_site, that contains the network address of the machine on which the database is created. This file supplies the binding address of the secd master server if the Naming Service is not available. FILES
The file containing the network address of the machine on which the security database is created. The directory in which the registry database files are stored. RELATED INFORMATION
Commands: secd(1m), sec_admin(1m) sec_create_db(1m)