Search results

  1. S

    Root owned home directories - is it possible?

    Who owns the home directory of the user won't matter from the point of view of sftp. The man page of sshd contains some pointers on permissions of critical paths, of which sftp is part of. The setting of StrictMode is what governs all this, which is default on and should be left in that state...
  2. S

    Root owned home directories - is it possible?

    sftp won't allow the user to login if the user's homedirectory is group writable. I would separate the homedirectories (and keep them only writeable and readable by the user) from the directories containing the actual files served by the webserver. In order for the users to more easily locate...
  3. S

    Hypothetical ZFS snapshot question

    ZFS has the ability to send snapshots which can be imported as a filesystem, volume or snapshot. By utilising for instance ssh this can be done to zpools on remote machines. Refer to the man page for zfs and specifically the send/recieve subcommands. Towards the end there are some examples, one...
  4. S

    ZFS: Where did the place?

    Setting the snapdir flag to visible is usually a bad idea since you risk traversing the entire filesystem several times. Instead of going about with du to find out the diskusage of snapshots, use the proper zfs command. zfs list -t snapshot Use the following to delete snapshots you don't...
  5. S

    Setting up a VNC server

    You can set which port to use by starting vncserver with the argument -rfbport so you don't have to scan through the logfile to find out. I have a rc.subr script that does the following as its final thing when fed the start argument in order to have the vnc server start automatically: su user...
Back
Top