I am setting up ProFTPd with MySQL authentication. It works so far, I can connect. However, I want to set the SQLDefaultHomedir directive so that I don’t have to include it in my database. I want to include as part of the directive the username used to log in to the server. Thus, for instance, if someone logged in as dstrout, their home directory should be set to /var/www/projects/users/dstrout. How can I do that? Can [...]Continue Reading »
Apache virtual host configured with a sym-link to a folder in my user directory fails with 403 Forbidden
I’m sure someone has asked/answered this before but my search hasn’t helped me much so… I have Eclipse IDE installed on my Linux box (LM13) with the ‘workspace’ folder located @ /home/user/projects/workspace I have Apache installed and set-up, working with various vhosts all of which have their folders somewhere under the web-root /var/www/… The problem I’m having is that the vhost I’ve configured for a project in my Eclipse Workspace can’t be accessed by Apache, [...]Continue Reading »
Many of our users have their Home folder set as Available Offline. Their Windows 7 laptops will not be back on our network for a few weeks. In the mean time, we’re setting up new servers and reorganizing our files, so the network path to the Home folder is going to be completely different. Based on some testing I did, when the users return, any files they’ve created or modified while offline will be gone, [...]Continue Reading »
I am trying to start a system (Hadoop, but that should not matter much for this question), and need to be able to ssh to localhost. I do this on windows with cygwin. The cygwin SSHD service is running, and ssh localhost works (as does ssh username@localhost). However, when I do, it says: Could not chdir to home directory : No such file or directory mkdir: cannot create directory `’: No such file or directory [...]Continue Reading »
I’ve created two user accounts for two applications: mongod and node.js. Both of these store their data in their home folder. This keeps data “sandboxed” and prevents them from needing to be in the sudoers / admin file. However, I have read that the home folder is not mounted when upstart runs my applications. How do I ensure that it is mounted before upstart attempts to run my application, in a proper way? Asked by [...]Continue Reading »
I have Centos 6.0 and installed vsftp with YUM, I added a user with Webmin panel, set its home dir to “/var/www/html” and its shell to “/bin/sh”, user id is 500, user group is same as name: “adrian_ftp”. When I start a ftp program it logs in but the remote folder always shows empty. I set directory owner and group to adrian_ftp:adrian_ftp , no change, I also made them 0777, no change. Any ideas? I [...]Continue Reading »
Whenever I create a new user in CentOS 5, their home folder is automatically given the UGO setting of “755″, how can I change the default to “700″? Also, the server is technically ClearOS, but it’s based on CentOS. You edit the file /etc/login.defs and change the umask value to: UMASK 077 Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about [...]Continue Reading »
The standard way to setup a central “/home” directory on a Linux workstation is using NFS. The problem is that I don’t like the lack of real security in NFS. So instead I want to try to use SSHFS. SSHFS in-and-of itself works fine, the problem is with mounting it at boot. If I add a line to “/etc/fstab” for the SSHFS share, the workstation complains that it can’t contact the SSH server. This is [...]Continue Reading »
I would like to move the default location of my c:UsersUSERNAME to another drive. What is the easiest way to do this and how? I know that I can move each of my “Special Folders” like Documents, Pictures, etc. but that does not include the AppData folder. Also, many programs and installers incorrectly put stuff in C:UsersUSERNAMEDocuments etc. even after I moved Documents to another drive and I end up with duplicate folders. For individual [...]Continue Reading »
I’m planning to deploy some kiosk computers and would like to leave them with a small pendrive as boot disk, keeping the rest at an easy to back up server, ala LTSP. Right now I’m pondering two options. An NFSed /home/, or a local copy of ~/ copied on login, rsynced on logout. My fears are that working with files might get too slow, or my network might get clogged. I use NFS for my [...]Continue Reading »
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?