Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
-none-

-none-

2007-10-03       - By David Bear

 Back
On Wed, Oct 03, 2007 at 06:15:17PM +0530, Ravi Shanmugam wrote:
> 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

think about what you are asking. If a non root user could grab roots
public keys what would be the security risks? I'm not sure but since
the pub keys live in the same directory as the private keys, they will
share the same access protections from the containing directory, which
should be ... rwx...... ie, only root (the owner can read the
contents). You really don't want it any other way.

since, what you really just want is the public key, you can become
root, copy the public key someplace else, like maybe /var/spool/root
?? that say group wheel can read. Then, your backup user (which may be
part of group wheel) could read the key and put it where it can use
it.

>  
> 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
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

--
David Bear
phone:   602-496-0424
fax:   602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list