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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
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
6. Red Hat
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
7. Shell Programming and Scripting
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Dummies Questions & Answers
when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies
10. Ubuntu
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
LCP(1) BSD General Commands Manual LCP(1)
NAME
lcp -- Secure remote file copy
SYNOPSIS
lcp [-fvn] [[user@]host1:]file1 [[user@]host2:]file2
DESCRIPTION
lcp is a program that securely copies files between two hosts on a network. This is intended as a secure replacement for rcp(1). Note that
both the source and the destination can be on remote machines.
OPTIONS
Available options:
--help Show summary of options.
-f, --force
Overwrite existing files.
-v, --version
Display commands before they are executed.
-n, --dry-run
Don't execute any commands. Implies -v.
ENVIRONMENT
LSFTP_RSH The program to use for the SSH tunnel. If the variable is not set, lcp defaults to using lsh.
REPORTING BUGS
Report bugs to <bug-lsh@gnu.org>.
AUTHOR
The lsh program suite is written mainly by Niels Moller <nisse@lysator.liu.se>. This man-page was written for the Debian GNU/Linux system by
Charles Fry <debian@frogcircus.org>.
SEE ALSO
rcp(1), scp(1), lsftp(1), lsh(1), lshd(8)
BSD
November 8, 2005 BSD