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
0answers
19 views

Recover data from old LVM partition on Centos 7

a few days back I my system would not boot up and go directly to emergency mode with no luck getting out, so I decided to reinstall centos 7. However, there are a few files that I would like to ...
0
votes
0answers
17 views

/etc/skel not used for home dir at first login of Samba4 AD login using pam_winbind

I've set up a Debian linux client machine. It uses pam_winbind to allow Samba4 AD domain users to login locally. This works so far. When a user logs in for the first time, a fresh new home directory ...
1
vote
1answer
46 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 ...
0
votes
0answers
14 views

SFTP Chroot with ability to create directories

I chrooted some Debian users by adding them into sftp_users group and setting this into sshd config: Match Group sftp_users X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ...
0
votes
0answers
12 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
0
votes
0answers
18 views

Can't Relocate Library from network to local

When I started with my company a few years ago my accounts were initially set up with offline file sync turned on for my libraries, i.e. Desktop, Documents, Downloads, etc, along with folder redirect ...
0
votes
1answer
63 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 (...
0
votes
0answers
24 views

Use pam_mkhomedir with chroot

I build a sshd server, users will be able to connect on it and then ssh others servers. I connected my server to our LDAP and enable pam_mkhomedir. It works like a charm, ex: /home/test. But when I ...
2
votes
2answers
1k 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 ...
4
votes
0answers
93 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 ...
0
votes
1answer
337 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/...
1
vote
2answers
2k 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 ...
0
votes
3answers
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) ...
2
votes
0answers
384 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."...
3
votes
0answers
157 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
226 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
9k 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
700 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
5k 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
3k 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
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; ...
3
votes
3answers
3k 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
921 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 ...
1
vote
1answer
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 ...
1
vote
0answers
7k 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
128 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
184 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 ...
1
vote
1answer
4k 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
773 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 ...
1
vote
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 ...
2
votes
2answers
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 ...
22
votes
2answers
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 ...
2
votes
2answers
14k 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
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: ...
0
votes
4answers
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 ...
9
votes
1answer
9k 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
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 ...
1
vote
2answers
912 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 ...
1
vote
0answers
289 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
395 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
1k 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
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 ...
0
votes
1answer
169 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
145 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
152 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
507 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 => '/...
9
votes
1answer
9k 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 ...
16
votes
1answer
1k 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,...