Re: scp in unattended batch mode

From: Richard E. Silverman (res_at_qoxp.net)
Date: 06/17/04


Date: 17 Jun 2004 10:25:04 -0400


>>>>> "LRW" == LRW <deja@celticbear.com> writes:

    LRW> I know it's not good security, but just to make sure I had it
    LRW> covered I chmod 777 recursively the entire user's directory on

That would ensure that it *not* work -- ~, ~/.ssh/, and
~/.ssh/authorized_keys must normally be writable only by the owner or
root.

-- 
  Richard Silverman
  res@qoxp.net


Relevant Pages

  • Re: [PHP] Uploading files / processing with a PHP script
    ... Cuz then I could chmod 4777 a file to make it execute as owner, ... could "will" it to 'root' owner, ... mygroup group. ...
    (php.general)
  • Re: What do these file permissions mean ---Sr-x--T ?
    ... This was 'chmod 5050' which is quite unnecessary. ... no permission, but were this to be run as a _binary_ executable, it should ... change the file is the owner root. ...
    (alt.os.linux.redhat)
  • Re: chmod and directories
    ... > I know that chmod 1777 on a directory will set the sticky bit and cause only ... > the owner or root to be able to link or overwrite the files contained ...
    (comp.unix.questions)
  • Re: Howto question
    ... > chmod 755 filename ... > You need to be root for this ... you need to be the owner of the file for this. ...
    (alt.os.linux)
  • Re: Who sets /dev/snd/* owners/perms upon login?
    ... change - they're permanently at 0660, owner root:root - and yet I can play sound from a ssh session as a common user. ... User gabi then becomes able to play sound with aplay, but ONLY from that console; if I log in as gabi from ssh -- even while the same user is logged in from the console -- gabi at ssh can't play and gabi at console can!!! ... # owner: root ...
    (Fedora)