[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: setuid for "ssh"
- From: "Gavin McDonald" <gavitron gmail com>
- To: "'Sachin Bhugra'" <bhugra sachin gmail com>, "'General Red Hat Linux discussion list'" <redhat-list redhat com>
- Cc:
- Subject: RE: setuid for "ssh"
- Date: Sat, 31 Dec 2005 11:56:18 -0800
Not having a copy of the source in front of me, I would wager that ssh
explicitly sets itself to run with the permissions of the user. It's pretty
tight about security. I know you want to run it as root, but. why? Even
the docs I sent to you suggest a valid work-around to the problem you are
having - yet you still want to suid ssh.
-G
Regards,
Gavin McDonald
========================
EVI Logistic Enterprises
email: me gavitron com
phone: (604) 313-3845
_____
From: Sachin Bhugra [mailto:bhugra sachin gmail com]
Sent: Friday, December 30, 2005 12:14 PM
To: General Red Hat Linux discussion list
Cc: callahant tessco com; gavitron gmail com
Subject: Re: setuid for "ssh"
Yes, actually i edited the ssh_config and sshd_config files and allowed
only ssh ver 1. Also, ssh looks for /etc/hosts.equiv or
/etc/ssh/shosts.equiv. I think "shosts.equiv" is specific to ssh and
"hosts.equiv" works for both rsh and ssh (pls correct me if i am wrong).
BTW, any idea why ssh is not running with the root permissions. i know its
dangerous, but...why? What i don't understand is /usr/bin/passwd also have
the same permissions and if we use "passwd" command it runs with the root
permissions then why not ssh, when it is also having the setuid bit set?
Regds,
Sachin
PS: I am using OpenSSH_3.6.1p2.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]