hello all,
on a v40z, solaris 10 GA, after installing somme patches, i got some
troubles, and i can't use rsh, but i can use it before patches:
nemo-henry% rsh nemo ls
permission denied
nemo-henry% cat .rhosts
nemo
nemo-henry% cat /etc/hosts.equiv
nemo
nemo-root% svcs -l svc:/network/shell:default
fmri svc:/network/shell:default
name rsh
enabled true
state online
next_state none
state_time Thu Nov 03 08:29:45 2005
restarter svc:/network/inetd:default
contract_id
dependency require_any/error svc:/network/loopback (online)
dependency optional_all/error svc:/milestone/network (online)
and there is also problem with nis:
nemo-root% ypwhich
inet_ntop: Address family not supported by protocol family
but all nis users continue to login without trouble.
any hint?
thanks in advance,
gerard
|
|
0
|
|
|
|
Reply
|
jdh13
|
11/8/2005 8:35:48 AM |
|
jdh13 wrote:
> hello all,
> on a v40z, solaris 10 GA, after installing somme patches, i got some
> troubles, and i can't use rsh, but i can use it before patches:
>
> nemo-henry% rsh nemo ls
> permission denied
> nemo-henry% cat .rhosts
> nemo
> nemo-henry% cat /etc/hosts.equiv
> nemo
> nemo-root% svcs -l svc:/network/shell:default
> fmri svc:/network/shell:default
> name rsh
> enabled true
> state online
> next_state none
> state_time Thu Nov 03 08:29:45 2005
> restarter svc:/network/inetd:default
> contract_id
> dependency require_any/error svc:/network/loopback (online)
> dependency optional_all/error svc:/milestone/network (online)
>
> and there is also problem with nis:
> nemo-root% ypwhich
> inet_ntop: Address family not supported by protocol family
> but all nis users continue to login without trouble.
>
> any hint?
>
> thanks in advance,
>
> gerard
Hello,
In your .netrc file should have the following entry :
machine <remote host name> user <remote userid> password <password>
Regards,
Thobias
--
Thobias Vakayil
Alcatel Development India (ADI)
PH: 2349961/72/86 EXTN :7018
|
|
0
|
|
|
|
Reply
|
Thobias
|
11/8/2005 9:09:25 AM
|
|
Thobias Vakayil wrote:
>
> In your .netrc file should have the following entry :
> machine <remote host name> user <remote userid> password <password>
>
thanks for your reply.
but in man in.rshd, there is no mention about .netrc, i believed it
concerned ftp ?
i only want to use ssh
|
|
0
|
|
|
|
Reply
|
jdh13
|
11/8/2005 9:27:30 AM
|
|
jdh13 wrote:
> Thobias Vakayil wrote:
>
>>
>> In your .netrc file should have the following entry :
>> machine <remote host name> user <remote userid> password <password>
>>
>
> thanks for your reply.
> but in man in.rshd, there is no mention about .netrc, i believed it
> concerned ftp ?
> i only want to use ssh
Hello,
For executing the command in rsh, .netrc entry should be present.
Regards,
Thobias
--
Thobias Vakayil
Alcatel Development India (ADI)
PH: 2349961/72/86 EXTN :7018
|
|
0
|
|
|
|
Reply
|
Thobias
|
11/8/2005 10:48:49 AM
|
|
Thobias Vakayil wrote:
>
> For executing the command in rsh, .netrc entry should be present.
>
thanks
could you give me a pointer to a doc that specify it? at now, i notice
that .netrc need:
machine ray login demo password mypassword
man netrc
NAME
netrc - file for ftp remote login data
DESCRIPTION
The .netrc file contains data for logging in to a remote
host over the network for file transfers by ftp(1). This
i don't want to put a password in this sort of file
|
|
0
|
|
|
|
Reply
|
jdh13
|
11/8/2005 12:28:43 PM
|
|
jdh13 <jdh13@free.fr> wrote:
> Thobias Vakayil wrote:
>>
>> For executing the command in rsh, .netrc entry should be present.
>
> could you give me a pointer to a doc that specify it?
He can't, because it's just plain wrong. .netrc is only used for
ftp, not rsh.
mp.
--
Systems Administrator | Institute of Scientific Computing | Univ. of Vienna
|
|
0
|
|
|
|
Reply
|
Martin
|
11/8/2005 2:50:12 PM
|
|
jdh13 <jdh13@free.fr> wrote:
> on a v40z, solaris 10 GA, after installing somme patches, i got some
> troubles, and i can't use rsh, but i can use it before patches:
>
> nemo-henry% rsh nemo ls
> permission denied
> nemo-henry% cat .rhosts
> nemo
> nemo-henry% cat /etc/hosts.equiv
> nemo
From the output above it looks as if you want to connect via
rsh from host nemo to host nemo - is that really what you
want to do ?
A generic advice - try to rlogin from host "source" to host "target",
then run "who", and put exactly the hostname from that output into
/etc/hosts.equiv on host "target" - often those problems are caused
by issues with short hostnames vs. FQDNs (with domain).
mp.
--
Systems Administrator | Institute of Scientific Computing | Univ. of Vienna
|
|
0
|
|
|
|
Reply
|
Martin
|
11/8/2005 2:55:58 PM
|
|
Thobias Vakayil <Vakayil.Thobias@alcatel.com> writes in comp.unix.solaris:
|In your .netrc file should have the following entry :
|machine <remote host name> user <remote userid> password <password>
..netrc is for ftp, not rsh
--
________________________________________________________________________
Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM
http://www.csua.berkeley.edu/~alanc/ * http://blogs.sun.com/alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.
|
|
0
|
|
|
|
Reply
|
Alan
|
11/8/2005 3:59:33 PM
|
|
Execute please this:
truss rsh nemo ls
And post the result.
Ram=F3n.
|
|
0
|
|
|
|
Reply
|
iso
|
11/8/2005 6:04:06 PM
|
|
Ram�n Barr�s wrote:
> Execute please this:
>
> truss rsh nemo ls
>
> And post the result.
I have a feeling the result is going to be something like:
truss: cannot trace set-id or unreadable object file: /usr/bin/rsh
rsh needs to be root because it uses a privileged port to connect and
because that was once somebody's idea of security. :-)
- Logn
|
|
0
|
|
|
|
Reply
|
Logan
|
11/8/2005 9:22:31 PM
|
|
True :-)
rsh must be executed as root
Thanks, Logn
|
|
0
|
|
|
|
Reply
|
iso
|
11/8/2005 10:23:40 PM
|
|
thanks to all people who reply, i found error in /etc/hosts
after correcting entries in this file, everything goes ok
|
|
0
|
|
|
|
Reply
|
jdh13
|
11/9/2005 10:55:52 AM
|
|
|
11 Replies
1399 Views
(page loaded in 0.138 seconds)
Similiar Articles: unable to rsh: permission denied - comp.unix.solarishello all, on a v40z, solaris 10 GA, after installing somme patches, i got some troubles, and i can't use rsh, but i can use it before patches: nemo... rcmd fails to connect; permission denied - comp.unix.sco.misc ...unable to rsh: permission denied - comp.unix.solaris rsh remote tar - comp.unix.solaris unable to rsh: permission denied - comp.unix.solaris rsh remote tar - comp.unix ... rsh error trying to connect to cisco 1601 router - comp.dcom.sys ...unable to rsh: permission denied - comp.unix.solaris RSH Permission Denied - Cisco Support Community RSH Permission Denied Hello colleagues, I am trying to set up rsh on ... unable to connect to server please make sure user has at least ...unable to rsh: permission denied - comp.unix.solaris... server please make sure user has at least ... unable to rsh: permission denied - comp.unix.solaris Unable to ... passwd -> permission denied - comp.unix.solarisunable to rsh: permission denied - comp.unix.solaris Unable to telnet to my machine - comp.unix.solaris passwd -> permission denied - comp.unix.solaris unable to rsh ... ssh and Permission denied - comp.parallel.mpiunable to rsh: permission denied - comp.unix.solaris ssh and Permission denied - comp.parallel.mpi unable to rsh: permission denied - comp.unix.solaris ssh and Permission ... change passwd - permission denied (NIS) - comp.unix.solaris ...unable to rsh: permission denied - comp.unix.solaris change passwd - permission denied (NIS) - comp.unix.solaris ... unable to rsh: permission denied - comp.unix.solaris ... NFS permission denied - comp.unix.solarisunable to rsh: permission denied - comp.unix.solaris NFS permission denied - comp.unix.solaris unable to rsh: permission denied - comp.unix.solaris NFS mount permission ... tar: /dev/rmt/0m: Permission denied - comp.unix.solarisunable to rsh: permission denied - comp.unix.solaris tar: /dev/rmt/0m: Permission denied - comp.unix.solaris unable to rsh: permission denied - comp.unix.solaris Unable to ... rsh remote tar - comp.unix.solarisunable to rsh: permission denied - comp.unix.solaris rsh remote tar - comp.unix.solaris unable to rsh: permission denied - comp.unix.solaris rsh remote tar - comp.unix ... cross domain permission denied problem - comp.lang.javascript ...unable to rsh: permission denied - comp.unix.solaris cross domain permission denied problem - comp.lang.javascript ... unable to rsh: permission denied - comp.unix.solaris ... permission denied while copying files to an USB drive - comp.unix ...unable to rsh: permission denied - comp.unix.solaris permission denied while copying files to an USB drive - comp.unix ... unable to rsh: permission denied - comp.unix ... Permission denied when executing the program - comp.parallel.mpi ...unable to rsh: permission denied - comp.unix.solaris... believed it > concerned ftp ? > i only want to use ssh Hello, For executing ... rsh, but i can use it before ... automount permission denied... - comp.sys.hp.hpuxunable to rsh: permission denied - comp.unix.solaris automount permission denied... - comp.sys.hp.hpux HP-UX rlogin problem - comp.sys.hp.hpux I used the automount system ... telnet/rsh not responding - comp.dcom.sys.ciscounable to rsh: permission denied - comp.unix.solaris telnet/rsh not responding - comp.dcom.sys.cisco passwd -> permission denied - comp.unix.solaris > "NIS server not ... unable to rsh: permission denied - comp.unix.solaris | Computer Grouphello all, on a v40z, solaris 10 GA, after installing somme patches, i got some troubles, and i can't use rsh, but i can use it before patches: nemo... SUMMARY: unable to rsh: permission denied - Sun Managers Mailing Listthanks to all people who reply, especially crist clark who point me to the solution ed.rolison at itc.alstom.com Brad_Morrison at capgroup.com crist.clark at ... 7/20/2012 3:26:19 AM
|