scp ok , but rcp permission denied


 
Thread Tools Search this Thread
Operating Systems Solaris scp ok , but rcp permission denied
# 1  
Old 12-23-2009
scp ok , but rcp permission denied

Hi,

i am trying to remote copy from a guest domain to primary domain , i can use scp but i can't use rcp ...I installed Ldom and created guest domains.. as you know Jass has been installed with ldom too and some services has been disabled by Jass ... i create .rhosts and edit /etc/hosts file , i couldnt rlogin or rsh without password too..I did these steps some systems which dont have Ldom or Jass ...

bash-3.00# rcp aa snake:/
permission denied
bash-3.00# scp aa snake:/
|-----------------------------------------------------------------|
| This system is for the use of authorized users only. |
| Individuals using this computer system without authority, or in |
| excess of their authority, are subject to having all of their |
| activities on this system monitored and recorded by system |
| personnel. |
| |
| In the course of monitoring individuals improperly using this |
| system, or in the course of system maintenance, the activities |
| of authorized users may also be monitored. |
| |
| Anyone using this system expressly consents to such monitoring |
| and is advised that if such monitoring reveals possible |
| evidence of criminal activity, system personnel may provide the |
| evidence of such monitoring to law enforcement officials. |
|-----------------------------------------------------------------|
Password:
aa 100% |*********************************************************************************| 0 00:00
bash-3.00#

Best Regards ...
# 2  
Old 12-23-2009
Did tcp wrapper configured on your system?
Check for the file /etc/hosts.deny. Did you see any entries like this in that file;

# See 'man tcpd' and 'man hosts_access' for a detailed description
# of /etc/hosts.allow and /etc/hosts.deny.
#
in.rshd in.rlogind in.rexecd: ALL

If this is the case, you will not able to execute any r-commands. Remove those entries and try again.


The hostnames listed in the /etc/hosts.equiv and .rhosts files must be the
official hostnames listed in the hosts database; nicknames can not be
used in either of these files
# 3  
Old 12-23-2009
Hello,

I moved hosts_allow and hosts_deny from /etc before... I will check if there are any file which created by Jass , like hosts_deny_xxxxxxJass
# 4  
Old 12-23-2009
There is a good reason why rsh/rlogin/rcp are disabled, and why scp/ssh are preferred! In anycase if you still want to enable the r* services
If its pre Solaris-10
1) You need to uncomment the below entries from the /etc/inetd.conf (make sure they dont have any space at the begin of the line) and the do a kill -HUP on the inted pid!
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd
shell stream tcp6 nowait root /usr/sbin/in.rshd in.rshd
login stream tcp6 nowait root /usr/sbin/in.rlogind in.rlogind
2)On Solaris-10
svcadm enable /network/login:rlogin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Permission denied

Trying to get date into the txt file. It says Permission denied. echo $(date +%I:%M:%S_%D) >> /tmp/systemd_suspend_test_err.txt exec 2>> /tmp/systemd_suspend_test_err.txt if ; then # Do the thing you want before suspend here echo "we are suspending $(date +%I:%M:%S_%D)." elif ;... (5 Replies)
Discussion started by: drew77
5 Replies

2. UNIX for Dummies Questions & Answers

Permission denied

when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies

3. UNIX for Dummies Questions & Answers

Unable to copy file using SCP (Input/output & Permission denied error)

Hi, I am facing issue while using scp. Source & target machines are Linux & HP-UX respectively. On target machine, if I fire the following command, I get error: Now if I try scp on another file, which is on the same source machine, it works fine. All directories and subdirectories... (2 Replies)
Discussion started by: Technext
2 Replies

4. Shell Programming and Scripting

Permission denied

I created a user so that when he logs in he will be directed to a menu /etc/passwd user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies

5. Red Hat

Permission denied

Hi guys im new to this db i have a small prob while installing websphereportal6.1i think i was installed succesfully but the error im getting is while starting server. check this out # ./serverStatus.sh -all Error loading: /usr/wps61/AppServer/java/jre/bin/classic/libjvm.so: cannot... (1 Reply)
Discussion started by: varma917989
1 Replies

6. Shell Programming and Scripting

scp vs rcp

Hi, What is the difference between scp and rcp and what are the advantages and disadvantages? which one is favor to use than the other between these two? Thanks (1 Reply)
Discussion started by: royalibrahim
1 Replies

7. UNIX for Dummies Questions & Answers

Permission denied

I would like to copy data from local mechine to cluster. Basically, I typed scp -r DVD/ acount@cluster:/ it shows Permission denied. Could anyone please give me a clue to write permission on cluster, please? The poperty of where on cluster I'd like to put is drwxr-xr-x Any idea would... (1 Reply)
Discussion started by: su_in99
1 Replies

8. UNIX for Dummies Questions & Answers

Permission Denied

I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You ... (0 Replies)
Discussion started by: howeezy
0 Replies

9. UNIX for Dummies Questions & Answers

./ Permission Denied.

Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks! (8 Replies)
Discussion started by: trouscaillon
8 Replies

10. UNIX for Dummies Questions & Answers

rcp 'permission denied'

I've followed suggestions as mentioned in this thread https://www.unix.com/showthread.php?s=&threadid=1449&highlight=rcp & I can now rcp a file to one of our servers, however there is another one which I still cannot contact, I just get the error 'permission denied'. I've checked &... (6 Replies)
Discussion started by: Kevin Pryke
6 Replies
Login or Register to Ask a Question