rcp without password prompt


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers rcp without password prompt
# 1  
Old 09-15-2003
rcp without password prompt

Hi,

i have a request about rcp.
is it possible to to make a rcp sessions for a normal user witch should have this option without a password prompt.

what are the important steps ....

add the host and user i the .rhosts
and
and
.
.
.
.


many thx
# 2  
Old 09-15-2003
Files that specify TCP/IP access permissions:

1) .rhosts - set up by each user under their home directory to specify who can remotely access their account. Not a very secure way of doing things.

2) /etc/hosts.allow - checked by the system for hosts that are allowed connections.

3) /etc/hosts.deny - checked by the system if the host was not found in /etc/hosts.allow. Specifies hosts that are to be refused connections.

4) /etc/hosts.equiv - used to grant certain hosts and users access to accounts on your machine without having to supply a password. This is a security hazard unless you control access to all the machines listed in this file. Your machine is only as secure as the least secure of the "trusted" hosts listed in this file. If you care about computer security, you should not use this file. Users should be discouraged from using the .rhosts file as well. You are better off using ssh (secure shell).

(5) /etc/inetd.conf - used to disable unwanted tcp/ip services. After modifying the configuration file you will have to restart the inetd daemon. The simplest way to do it on Linux is to send a hang up signal to the daemon which will force it to re-read its configuration file:

killall -HUP inetd
The hosts_access(5) man page provides information on the syntax /etc/hosts.allow and /etc/hosts.deny.


Sometimes you should use the hostname inclusive domainname.


Regs David
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Sudo Password Prompt over SSH

I am not sure what I am missing here. I have the following identical entry in /etc/sudoers on multiple Red Hat 6.4 servers. icinga ALL=NOPASSWD:/usr/bin/yum --security --exclude\="kernel*" check-update On one server when I enter the command over SSH as follows it works fine. ssh -t -q... (1 Reply)
Discussion started by: scotbuff
1 Replies

2. UNIX for Dummies Questions & Answers

Sudo -s without password prompt

hi, i have a requirement where i need to sudo to another user in the shell script.suppose consider user A and B, first user A calls a shell script and then i need to sudo to user B which executes another shell script inside the earlier one. also this needs to be automated like while sudo'ing to... (3 Replies)
Discussion started by: krk
3 Replies

3. Solaris

How to prompt for the new password during the first login

Hi All, I have created a new user. Using the below command I have created the user successfully. useradd -c "Test user" -d /tmp/test -g Testgroup -s /bin/ksh -u 601 Test I don't want to set the password using “passwd” command after creating a user. I want to prompt for the new... (2 Replies)
Discussion started by: kalpeer
2 Replies

4. UNIX for Advanced & Expert Users

Changing the password prompt

Is there any way I can change the prompt which asks for the password on a UNIX system? e.g. When I login using Telnet instead of "Password" I should get "Correct Password". Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

5. OS X (Apple)

get around rsync password prompt

Hey there, I'm trying to do a very simple rsync to back up my computer to an external drive connected via usb every night, but it keeps asking for a password. I tried using the password file flag, but it looks like that is only a daemon. Does anyone have any ideas? This has eaten up a lot of my... (4 Replies)
Discussion started by: aarond
4 Replies

6. Shell Programming and Scripting

rsync without password prompt

Hi, I am tranfering the files from local machine to remote machine using rsync utility but it is prompting password. but i don't want to provide through prompt. how can i give in my shell script. can anyone suggest me.Thanks in advance rsync -rvcpogtl -e "ssh $LOCAL_PORT" $SOURCE_DIR... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies

7. UNIX for Advanced & Expert Users

Stopping password prompt

hi I have installed a new Linux machine and having another machine having Solaris on it. i want that when i log into my solaris machine using rlogin from Linux machine then no password prompt occurs... Thanks in advance. (4 Replies)
Discussion started by: rochitsharma
4 Replies

8. Shell Programming and Scripting

any way to use SU command without prompt for password

Hi, First i want to tell you i am not a administrator and everytime to run a sqlscritpt i have to login as SU in a particular account to connect to sqlplus.. I want to write a script which can make me free by doin this .. since i am having the permission for SU i want to know if i can SUDO... (7 Replies)
Discussion started by: myelvis
7 Replies

9. IP Networking

Unable to get password prompt

Hi I am using a Solaris 2.5.1 and i am unable to logon on the console. When i key in say, root on the login prompt, it does not prompt me for password but instead return to the login prompt again. Please help. thanks (2 Replies)
Discussion started by: owls
2 Replies
Login or Register to Ask a Question