Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [home-directory]

A home directory (or "home folder" on Windows and Mac OSes) is a file system directory on a multi-user operating system containing files for a given user of the system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
235 views

User directory does not exist when logging in via ssh to a Synology NAS

On a Synology NAS with DSM 7.0 I have created through the Graphical UI a dedicated admin user (as recommended in Synology's setup procedure), then I have enabled ssh login and now I can ssh into the ...
user avatar
  • 111
0 votes
1 answer
89 views

Prevent user from seeing list of other user's home dir

I want to prevent a user from seeing a list of home directory(of other users). By default, a user can not access other user's home dir but can find another user's home dir like below: [opc@instance-...
user avatar
0 votes
0 answers
166 views

CentOS 7 PAM / LDAP SSH/LOGIN user does not start in his home directory

On a CentOS 7 machine, users can use their LDAP credentials to connect to my servers. The first time they do this, the pam_mkhomedir is doing its job well. The user's folder /home/jdoe is well created ...
user avatar
0 votes
0 answers
44 views

Home profile not mapping for users

The home profile is not mapping for users on my domain. I have configured this through the user -> profile -> home folder Connect U to \myshare%username% I have also replaced %username% with the ...
user avatar
  • 101
4 votes
2 answers
3k views

Why is the root home directory, /root not in /home? (looking for reasons other than /home is mounted on a different drive)

i know that one reason for /root not being in /home is that usually /home is mounted on a different disk and if it were to fail, we still want root to be accessible. What are some of the other reasons ...
user avatar
  • 77
0 votes
0 answers
262 views

Synology DSM User Home service is behaving strangely

I'd like each user registered in my Synology'S DSM to have a home folder - accessible through the Windows file manager over the network. I understand that's what the user home service is for in ...
user avatar
0 votes
1 answer
235 views

Create User active directory Bulk and home folder for user but folder Not Created

all I am trying to create a user with Active Directory and home folder automatically using bulk files and csv but when the user is done I check the user profile it redirects every user's home folder ...
user avatar
0 votes
1 answer
122 views

Openldap and nfserver, both work although /home/user cannot be created unless I log into the nfserver first with new ldapusers

I have an openldap server I set up on cent os 7. I blended it to work with all my other VMs that mount a nfs mount from a nfs server for their /home. I just figured out that if I create a new ldap ...
user avatar
  • 67
1 vote
1 answer
157 views

Docker - User and SSH issue

I am creating a docker container that will host a web app. The container is an ubuntu18.04 vm with a flask app + gunicorn running. I am trying to configure ssh but something wonky is going on. In my ...
user avatar
  • 111
0 votes
0 answers
17 views

Add user home directory depending hostname

Is it possible to add a list of users and change the home directory of each user depending on the host name of the server? Thanks in advance
user avatar
0 votes
1 answer
79 views

I can't access my account after unmounting my home directory and doing lvremove (centos7)

I do not have an IT background. I am working things out on my own, so I would really appreciate your help on this as I am in a panic at the moment. I wanted to increase the size of my /home directory (...
user avatar
2 votes
2 answers
2k views

NFS server with out of memory

I have multiple machines sharing home directory via NFS share used by 6-10 users. All machines are used to run computational experiments including the one with NFS server. Although it is very rare but ...
user avatar
  • 29
5 votes
1 answer
127 views

Override template homedir on FreeNAS 11.3 joined in Active Directory

I've joined a FreeNAS 11.3 in an Active Directory and everything works as expected. But one feature that I'm really missing is some kind of override on mapped home directories for users. By default ...
user avatar
0 votes
1 answer
669 views

AWS EC2 Linux restrict SFTP user to their home directory when users connect from WinSCP

I'm working on a solution to restrict the user to the home directory or a specific directory. I need to restrict a user for below scenario, we have multiple Wordpress installation in webroot /var/www/...
user avatar
  • 1
1 vote
2 answers
3k views

Modify new user home directory permissions with powershell

I am needing assistance with a script. What I am trying to accomplish is when new users are created in ADUC and their profile path(home folder) is created, it gives the users "Full Control". I am ...
user avatar
  • 31
0 votes
3 answers
4k views

What should the home directory of a non-interactive user account be set to?

[root@Acheron ~]# systemctl status shadow ● shadow.service - Verify integrity of password and group files Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled) ...
user avatar
  • 111
2 votes
0 answers
653 views

Samba 4.8.3 homedirs can only be mapped and accessed if other = rwx

Problem: user1 can map 6 shares normally. Another share, homedir, is mapped but gets the error message that "Windows cannot access \samba\homedir: You do not have permission to access \samba\homedir."...
user avatar
3 votes
0 answers
208 views

How to mount windows "downloads" folder on a vhdx file

I'd like to know how I can mount a vhdx image as %userprofile%\Downloads folder in windows 10. When I use the 'disk management' tool it doesn't let me click 'ok' when I've selected the 'downloads' ...
user avatar
  • 145
0 votes
1 answer
297 views

Can't ssh through user with mounted via sshfs home dir

There are 2 users on machine#0: user#0 and user#1. I can mount the desired dir from user#0 on machine#0 executing: sshfs user@hostname:/home/folder /home/folder The thing is that /home/folder has ...
user avatar
1 vote
2 answers
12k views

Could not chdir to home directory /home/Me: No such file or directory

On a daily basis, I interact with 10s of productions servers which do not, and should not have a home directory for my personal user. Every SSH session is met with the same error message: Could not ...
user avatar
  • 211
1 vote
1 answer
852 views

Linux Cluster with LDAP, automatically and simultaneously creating homedir on multiple machines

I'm setting up a computer cluster of (20+) machines, I have a working central ldap server for authenticating users and keeping GID and UID synced across the cluster. One machine acts as a head node, ...
user avatar
  • 21
0 votes
1 answer
6k views

How exactly does mapping a home folder via AD work?

In a 2012 R2 environment, how does mapping a home folder via Active Directory using the "Connect:" box on the profile tab work? I'm not referencing or concerned about GPO, this is only for AD mapping. ...
user avatar
  • 101
1 vote
0 answers
29 views

Space used by /home does not match df -h [duplicate]

I am seeing a big constant increase in the space amount taken in the /home directory df -h says: Filesystem Size Used Avail Use% Mounted on /dev/md2 127G 52G 70G 43% /home However,...
user avatar
  • 111
1 vote
1 answer
4k views

How to autocreate home directories in automounted NFS directory?

I have a NFS server at nfs.example.com:/users. I have a normal server at client.example.com. When I do su - user, I want it not only to automount /users/user, but I also want to create /users/user if ...
user avatar
0 votes
1 answer
1k views

Set up nginx + php to serve php files from home directories [closed]

Here is the relevant part of my nginx.conf, which does not work for php files that are located in the home directories of the users: location ~ ^/~(.+?)(/.*)?$ { alias /usr/home/$1/www$2; ...
user avatar
3 votes
3 answers
5k views

sshfs file writes don't respect UID/GID mapping

I'm mounting my /home directory remotely using sshfs. Since UIDs and GIDs aren't the same on the server and client, I'm using idmap=file. Additionally, because of application requirements, I must ...
user avatar
2 votes
0 answers
1k views

SELinux stops pam_oddjob_mkhomedir from re-creating home dirs after deletion

I have a RedHat 7 server which is hooked up to LDAP and is supposed to create home folders automatically. In line with RedHat recommendation I use pam_oddjob_mkhomedir.so. Everything works fine if the ...
user avatar
  • 201
1 vote
1 answer
2k views

Windows Create Domain User's Home Directory Before Login

I am trying to prepopulate a user's home directory before they log in for the first time. I would like to do this programmically. Right now, I can create a the folder, but when a user logs in, it ...
user avatar
  • 111
1 vote
0 answers
8k views

Windows GPO "set user home folder" adds domain name to home folder

I set a GPO to 'Set user home folder', use H: and as path '\fileserver\root\Home'. This works as expected, but the home folder that created is like this; \fileserver\root\Home\johndoe.domainname\ ...
user avatar
  • 519
0 votes
0 answers
129 views

Allow a user to read some other users' home directories - Windows

I have an user - reception with a home directory ("\nas\home") which I want to share it with another user only i.e.: john I'm looking for a way around of it as we the way SMB home shares are treated ...
user avatar
  • 1
1 vote
1 answer
198 views

CentOS - Pubkey Auth doesn't work for user in /var

I've been working through a problem for the past week or so and I am running out of ideas. I added a new user on my Centos 7 VPS for a git server, and (under the advice of several articles) placed ...
user avatar
1 vote
1 answer
5k views

How to change home directory for existing virtual ProFTPD user?

I have my AuthUserFile located at /etc/proftpd/proftpd.passwd. DefaultRoot is ~. This file currently lists a single user (username, password hash, home directory). How do I change a home directory for ...
user avatar
  • 121
0 votes
1 answer
29 views

WindowsNT.3.5 domain: location of homes

Context: I am working with a Samba PDC (not AD mode) which emulate a MS NT Server 3.5. My problem is with the following line on smb.conf: logon home = \\%L\%U This line makes users mount a home ...
user avatar
  • 1,350
0 votes
0 answers
911 views

Home Folder Files Intermittently missing for user

We are having a weird issue that has been ongoing for months where one of our users will have files missing from her Home Folder mapped as H from active directory not show up. The files that don't ...
user avatar
1 vote
1 answer
6k views

Change default home dir of user

I want to change the default home directory of a user from this: User: john Default home: /home/john To this: User: john Home: /var/www/project/new-home How could i do that? What i've tried so ...
user avatar
2 votes
2 answers
3k views

How do I set up home folders for users automatically without roaming profiles?

I have a Windows Server 2012 VM running as my domain controller, and another Server 2012 VM instance that is my file server. On my NAS, I used to be able to create a user, and the NAS would ...
user avatar
22 votes
2 answers
3k views

HALP! I've inherited a permissions nightmare for redirected folders/home directories

My new employer has folder redirection setup for its hundreds of users, and the person who set it up didn't really know what he was doing. As a result, the best practices for permissions on ...
user avatar
  • 53.2k
2 votes
3 answers
19k views

Unable to create Home Directory for LDAP Login

I have linked my server with LDAP for ssh login. I get the Following error while logging in using ssh. Could not chdir to home directory /home/ldap/sharukhk: No such file or directory shahrukh@...
user avatar
4 votes
2 answers
4k views

Set Windows share as network home for AD-joined Mac users

we've been seriously scratching our heads on this issue for the last few days. It's now time to ask other professionals on possible solutions for this. The situation and what we're attempting to do: ...
user avatar
0 votes
4 answers
4k views

Cannot login to RHEL6 server as any user except root - Says home directory cannot be found and shell permission is denied

As the question above states, I have a RHEL 6 server that is designed for SSH access, with root unable to login through SSH by design. When I am at the server locally I can login as root, but only as ...
user avatar
  • 11
9 votes
1 answer
10k views

Best practice for defining user "HOMEDRIVE" "HOMEPATH" "HOMESHARE"

Is it considered a best practice to map domain users' "HOME" environment variables to a network path? If so, why? By "HOME" variables, I am referring to: %HOMEDRIVE% %HOMEPATH% %HOMESHARE% This ...
user avatar
  • 193
3 votes
2 answers
3k views

How to automate directory creation on NFS-Server?

I created and configured a test-environment of 3 virtual machines: A FreeIPA server which provides krb5-authentication A NFS-Server using server 1 to secure itself A client that automounts home ...
user avatar
  • 699
1 vote
2 answers
1k views

OpenSSH: allow users with writeable HOME to use public key authentication

On a local workstation I need to have a handful of users to be able to freely write in each other $HOME. I KNOW this is a security breach and, in the specific situation, I do not care at all. I have ...
user avatar
  • 236
1 vote
0 answers
298 views

Remote home-folders with optional but preferred locally-encrypted folder

I have the use case that on default all users are working within remote mounted home directories. However, sometimes they prefer a local home on one or more machines, e.g. because the network is too ...
user avatar
  • 111
1 vote
0 answers
400 views

Automounted AFP home directories are owned by root (OS X Yosemite client, Linux Servers)

What I am trying to do but can't get to work I am trying to set up network users in Yosemite clients with their home directories on kerberised AFP. I am using automountd to have the home directories ...
user avatar
  • 11
1 vote
1 answer
2k views

How can I change the directory in wich pam_mkhomedir creates the user's home directories?

I am using pam_mkhomedir to automatically create user's home directories when they first log in. However, the home directories are created inside the /home directory, while i need them to be created ...
user avatar
  • 214
-2 votes
1 answer
1k views

Migrate local user to LDAP server and keep the old user directory

I have an existing Debian server with a lot of local user (these user account are used for application authentication and keeps files in each home directory), and I want to migrate all the local user ...
user avatar
  • 588
0 votes
1 answer
171 views

OS X server Open Directory fail over successfully but not the user home directories

We setup the OS X server Open Directory(OD) master and replica. Users are created on master and their home directories are on the master server. When the master OD server is down, the OD client (MAC) ...
user avatar
  • 1
1 vote
1 answer
152 views

What is a good configuration for a zpool built from 8-10 SSD for a home file server exported via NFS?

So we have a bunch of SSD disks and would like to put them in a zpool on a Solaris 10 system. The file system will be exported via NFS to about 50 Ubuntu clients which will mount it as their $HOME. I ...
user avatar
  • 968
0 votes
1 answer
190 views

How can I manually initiate the creation of a home folder for an AD user in Windows?

I have an AD environment with Windows 2008R2 Server where a few Windows 7 machines use FolderRedirection . Sometimes I need to re-initiate the homefolder creation process, but the only way I've found ...
user avatar
  • 458