"Permission denied" Problem

Ravi Shanmugam ravi.shanmugam at sasken.com
Fri Oct 5 05:41:08 UTC 2007


Hi JP,
 
Thanks for your reply.
But if I "ls -l" in / folder, the permission for /root is drwxr-x--- i.e
no read permission for groups and others.
I even tried executing the following command
cat /root/.ssh/id_rsa.pub
but I still face "Permission denied" problem.
Could you please help me.
 
Thanks,
Ravi R.S
 
-----Original Message-----
*	From: "Jean-Paul Baillon" <jean-paul baillon safecom co nz> 
*	To: "General Red Hat Linux discussion list" <redhat-list redhat
com> 
*	Subject: RE: "Permission denied" Problem 
*	Date: Thu, 4 Oct 2007 16:35:23 +1300 
 
Everyone should be able to read your public key - that's why it is
called a public key - the private key is the one you keep secured

The permission denied may be with the cat /root/.ssh/id_rsa.pub part or
the   > /abiscard/local/root/.ssh/authorized_id command

Try cat /root/.ssh/id_rsa.pub you should be able to read the public key
- if so the problem lies with the writing to
/abiscard/local/root/.ssh/authorized_id file (most likely)

JP



-----Original Message-----
From: redhat-list-bounces redhat com
[mailto:redhat-list-bounces redhat com] On Behalf Of Ravi Shanmugam
Sent: Wednesday, 3 October 2007 10:45 PM
To: redhat-list redhat com
Subject: "Permission denied" Problem

Hi All,

I have a query on accessing a root file as a non-root user. The problem
is described as follows.

I wanted to execute the following command 

cat /root/.ssh/id_rsa.pub > /abiscard/local/root/.ssh/authorized_id 

as a non-root user i.e "backup" user. Is there any way I could do this.
This is for my project requirement.

Your reply will be well appriciated.

Regds,
Ravi R.S

SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In 
case you are not the original intended Recipient of the message, you must not, directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are 
requested to delete it and inform the sender. Any views expressed in this message are 
those of the individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken Communication 
Technologies Limited ("Sasken") unless sent with that express intent and with due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread of 
viruses. However the company accepts no liability for any damage caused by any virus 
transmitted by this email



More information about the redhat-list mailing list