Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: Locking down ssh config in large env

Subject: RE: Locking down ssh config in large env
Date: Mon Sep 27 12:13:08 EDT 2004
What about the immutable bit "chmod +i .ssh".                                   
                                                                                
                         
                                                                                
                                                                                
                                                                                
                        
If it is root owned, and the immutable bit set, no one can change it. Root has 
to unset the bit first. However, it will not be able to update for new sshd 
hosts, but that it is a security feature.                                       
                                                                                
                                                             
                                                                                
                                                                                
                                                                                
            
Atro, test this on your box and let me know.                                    
                                                                                
                                                     
Shirkdog
                                                                                
                                                                                
                                                                                
                                                            
-----Original Message-----
From: atossava@cc.helsinki.fi [mailto:atossava@cc.helsinki.fi]
Sent: Friday, September 24, 2004 3:05 AM
To: secureshell@securityfocus.com
Subject: Re: Locking down ssh config in large env
Importance: Low
Robert Hajime Lanning wrote:
Actually if the .ssh directory is owned by root (and everything in it)
with the user not having write access to it, the user cannot delete the
.ssh directory. 
I have just confirmed this on Linux.  You neglected to mention that
the user can rename such a directory, which (while not removing the
actual contents of those files) accomplishes the desired effect none-
theless as the user can proceed to create their own .ssh directory.
-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS


!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+
CryptoMail provides free end-to-end message encryption.  
http://www.cryptomail.org/   Ensure your right to privacy.
Traditional email messages are not secure.  They are sent as
clear-text and thus are readable by anyone with the motivation
to acquire a copy.
!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+

<Prev in Thread] Current Thread [Next in Thread>