Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006

    ho do you close ln ssh command?

    Does anyone know how to stop sys links between files and directories?

  2. #2
    Join Date
    May 2006
    Teh Interweb
    I don't quite understand your request. Please provide an example of what you are trying to accomplish.

    [[email protected]] ~ $ cat .signature
    cat: .signature: No such file or directory

  3. #3
    Join Date
    Oct 2005
    Fleet Street
    If you're talking about a symlink, just rm it.

  4. #4
    Join Date
    Apr 2004
    SF Bay Area
    Quote Originally Posted by MyTrickster
    Does anyone know how to stop sys links between files and directories?
    You mean symlinks?

    Only things I can think of:

    1. You can exclude access to the ln binary. This doesn't prevent a user from copying the binary from another similar system though.

    2. You can lock down your directories properly. RFX's LES tool can help you with this.

    3. Not use a filesystem that supports symlinks. That would something like FAT but of course that's not a very attractive option at all.

    And, by the way, what's your rationale for wanting to do this? There should be no reason to do this on any reasonably secure UNIX-like system.
    Last edited by fastdeploy; 01-01-2007 at 01:50 AM.

  5. #5
    Join Date
    Feb 2005
    I am air u breathe
    If you wish to close the ssh access then you can disable the binary /usr/bin/ssh or if it is that you wish a particular group then try editing sshd.conf. If it is not then please give in the particulars

    It is reliability that counts...
    Few tips

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts