Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
0answers
7 views

How to share /home and \Users folders between Linux host and Windows 7 guest with kvm [migrated]

I have recently installed Windows 7 as a guest in a linux kvm virtual machine. I was wondering if there is a way to make the /home folder of the linux host and the \Users folder of the Windows guest ...
3
votes
0answers
26 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' ...
0
votes
1answer
84 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 ...
0
votes
2answers
2k 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 ...
1
vote
1answer
179 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, ...
0
votes
1answer
823 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. ...
1
vote
0answers
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,...
1
vote
1answer
828 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 ...
0
votes
1answer
719 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; ...
2
votes
2answers
925 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 ...
2
votes
0answers
361 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 ...
0
votes
1answer
949 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 ...
0
votes
0answers
4k 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\ ...
0
votes
0answers
83 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 ...
1
vote
1answer
152 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
28 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 ...
0
votes
0answers
422 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 ...
0
votes
0answers
37 views

Sometimes when users try to access their home folder set through their AD profile they cannot access it.

Sometimes when users try to access their home folder set through their AD profile they cannot access it. It does not give an error it will just sit there like it is loading but never loads. If I reset ...
0
votes
1answer
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 ...
1
vote
2answers
2k 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 ...
22
votes
2answers
2k 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 ...
1
vote
1answer
7k 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@...
4
votes
2answers
3k 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: ...
0
votes
4answers
3k 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 ...
8
votes
1answer
4k 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 ...
3
votes
2answers
2k 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 ...
1
vote
2answers
517 views

OpenSSH: allow users with writeable HOME to use publick 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 ...
1
vote
0answers
257 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 ...
1
vote
0answers
376 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 ...
1
vote
1answer
958 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 ...
-2
votes
1answer
617 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 ...
0
votes
1answer
165 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) ...
1
vote
1answer
133 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 ...
0
votes
1answer
125 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 ...
1
vote
2answers
341 views

Puppet: How to enforce file creation in root's home folder?

I'm trying to set a custom .vimrc profile on all servers in the production environment by using Puppet. I wrote the following manifest: class vim { file { "/etc/skel/.vimrc": path => '/...
7
votes
1answer
4k views

Is using the AD home directory attribute to map the home drive really no longer a best practice?

I have read some articles that claim that using the Active Directory user home directory attribute to automatically map the home drive is a legacy method, deprecated, or not recommended. The second ...
15
votes
1answer
993 views

Share /home between datacenters

I have two servers, placed at datacenters in holland and france. Both are running Debian Wheezy. I need to share /home between them, with good performance. There are 300-something users on the servers,...
4
votes
1answer
1k views

Allow users to install certificates in their home directory?

Usually SSL certificates are installed system-wide (e.g. in /etc/ssl/certs). Is it possible to configure OpenSSL in a way that allows user to put certificates in their home directory (for example in ~/...
-1
votes
1answer
3k views

What's the difference between Home folders and Folder Redirection?

I found this (Difference between Roaming profiles, User Profile, Home Folder, and Redirected Folders?) but it doesn't really answer my question. If I assign users a Home folder, is that essentially ...
0
votes
1answer
9k views

Shrinking or removing home partition in CentOS 7 installation [closed]

I made the mistake of creating a home partition that fills up all my disk space, and it's formatted in XFS, which to my knowledge isn't shrinkable. Since I have no use for the home partition anyway (...
5
votes
1answer
3k views

Replacing folder redirection with work folders

I am currently building a lab to get familiar with Microsoft's new "Work Folder" feature. I am looking for a way to abandon folder redirection and offline files. So far I have one Windows 7 client ...
4
votes
1answer
7k views

Difference between Roaming profiles, User Profile, Home Folder, and Redirected Folders?

On the network where I work, it appears at various times people have had roaming profiles, user profiles, redirected folders, and home folders. What are the purposes and differences between these? ...
12
votes
2answers
2k views

SSH home directory per subdomain

I'm wondering if it is possible to set different home directories for the same ssh user for each subdomain. So let's say you login with ssh myuser@example.com your home directory will be: /www/...
1
vote
1answer
2k views

Cannot find home directory on Linux Server

I have recently been granted access to a Linux server where I transferred some data. Now, for some reason, when I use WinSCP or any other program to connect to the server, instead of logging in ...
6
votes
2answers
23k views

Add a Home directory for already created user when no direct root login available

I have a user account provided by client with unrestricted sudo access, but this user has no home directory. I want to create one, but I'm not sure how to go about it. I tried logging in as my ...
1
vote
1answer
6k views

Inheritable NTFS permissions and preventing user folder access Windows Server 2003/2008

A little bit of background: We currently use Windows Server 2003 and AD to control users and their data(we are looking at updating to Server 2008 R2 at some point in the medium future, but not ...
1
vote
2answers
801 views

Rebuild home directory after deletion

This is what happened: root@rasp:~# ls -al total 72 drwx------ 8 root root 4096 Jan 22 21:01 . drwxr-xr-x 25 root root 4096 Sep 11 14:27 .. -rw------- 1 root root 8079 Jan 22 19:55 .bash_history -...
3
votes
2answers
39 views

windows active directory profile regional

we are an organization with 40k users. This organization is composed of multiples structures. We have one single forest Active Directory with flat DIT. We want to keep this AD in order to ...
1
vote
1answer
3k views

Users can't access their samba shared homes from Windows

I installed and configure a Samba 4 as AD and I shared Homes. I can log in the Samba server and a Windows 2008 server with my users. However, on Windows, when I type "\IPSambaServer\user1" when logged ...