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
1 answer
65 views

freeipa server home directory automount

I have installed freeipa-server on centos and enrolled an ubuntu server to it, I have a freebsd server which is our storage server(I am going to enrolled the freebsd (storage server) to this freeipa-...
AAB's user avatar
  • 13
0 votes
0 answers
67 views

chroot vs home_folder in vsftpd

I'm using vsftpd, and I can't seem to get the behaviour I want through vsftpd.conf. What if you want /folder to be the change root folder to disallow users from going one folder up, but the starting ...
Jesse Stacey's user avatar
0 votes
1 answer
58 views

Home directory, user database and key-based authentication

I want to share it NFS share with my users just like the home-directories (traditional way), but I don't want to create the users instead I want to get the server integrated with the github or google ...
AAB's user avatar
  • 13
0 votes
0 answers
36 views

macOS 13.3 update breaks home directories on external drives

Something in the macOS 13.3 update prevents users with home directories on external drives (and probably network drives too, though not tested) from logging in.
JLG's user avatar
  • 21
1 vote
0 answers
733 views

How to set up remote home folders on Ubuntu 22.04 using CIFS

I'm trying to set up remote home folders for Ubuntu 22.04 workstations. These workstations are joined to an AD domain using sssd and krb5, and users sign in using their AD credentials. I'm also using ...
maxdownunder's user avatar
1 vote
1 answer
646 views

Create shared folder as active directory would in powershell

With Active Directory I can manually create new users. Every time I do that, I use right click -> Copy on that user, then I modify some things like Name, Surname and SamAccountName. This process ...
Fral's user avatar
  • 11
0 votes
0 answers
53 views

Issue adding space from /home to /var with ext4 fs debian 11

My /var is full on 9.1GB and I need to increase space to 100GB from /home that has 1.4TB. When I run fdisk it keeps giving me the same default amount of space (9.1GB). Is the another way of adding ...
tlholoheloh101's user avatar
0 votes
0 answers
185 views

PHP NGINX not working on a Subdomain

I have a Sub Domain" ad.example.com and I am trying to install a CMS and it get stuck at install.php with a 404 not Found error server { access_log /var/log/nginx/ad.example.com.access.log; ...
Abel's user avatar
  • 1
1 vote
2 answers
1k views

How can I set specific directory for different users in proftp?

Currently, when user A logs in proftp, he comes at his home directory /home/A, when user B logs in proftp, he comes at his home directory /home/B. I want to let user A come at /dir1 and let user B ...
peter's user avatar
  • 113
0 votes
3 answers
1k views

Deleted my Home folder now I cant remotely connect via SSH

I accidentally deleted the Home directory with sudo rm -r ~, when I try reconnecting the ssh returns ssh -v key.pem ec2-user@PublicIP-address ec2-user@PublicIP-address: Permission denied (publickey,...
Polaroid's user avatar
5 votes
3 answers
2k 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 ...
halloleo's user avatar
  • 163
0 votes
3 answers
2k 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-...
Muhammad Dyas Yaskur's user avatar
0 votes
0 answers
718 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 ...
locobastos's user avatar
5 votes
2 answers
5k 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 ...
dor's user avatar
  • 87
0 votes
1 answer
1k 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 ...
Zhank48's user avatar
1 vote
1 answer
305 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 ...
Codejoy's user avatar
  • 149
1 vote
1 answer
490 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 ...
basic's user avatar
  • 111
0 votes
0 answers
104 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
Markus Tosi's user avatar
0 votes
1 answer
189 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 (...
newaminal's 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 ...
rmah's user avatar
  • 29
5 votes
1 answer
178 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 ...
Vinícius Ferrão's user avatar
0 votes
1 answer
1k 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/...
KNCK's user avatar
  • 1
1 vote
2 answers
4k 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 ...
Paul's user avatar
  • 31
0 votes
3 answers
6k 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) ...
John M.'s user avatar
  • 111
2 votes
0 answers
877 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."...
J. Lewis's user avatar
3 votes
0 answers
312 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' ...
DDS's user avatar
  • 145
0 votes
1 answer
464 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 ...
Anton Ostrouhhov's user avatar
1 vote
2 answers
17k 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 ...
Alexander's user avatar
  • 243
1 vote
1 answer
1k 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, ...
Dooglz's user avatar
  • 21
0 votes
1 answer
9k 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. ...
Nick's 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,...
Vincent's user avatar
  • 111
1 vote
1 answer
6k 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 ...
Aaron Walker's user avatar
0 votes
1 answer
2k 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; ...
qazqolang's user avatar
5 votes
3 answers
6k 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 ...
Nathan Vance's user avatar
3 votes
0 answers
2k 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 ...
Bart C's user avatar
  • 211
1 vote
1 answer
4k 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 ...
Loaf's user avatar
  • 111
1 vote
0 answers
9k 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\ ...
Dennis's user avatar
  • 696
0 votes
0 answers
136 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 ...
Vini's user avatar
  • 1
1 vote
1 answer
218 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 ...
forresthopkinsa's user avatar
1 vote
1 answer
6k 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 ...
interphx's user avatar
  • 121
0 votes
1 answer
34 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 ...
473183469's user avatar
  • 1,370
0 votes
0 answers
1k 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 ...
Jeremy McDevitt's 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 ...
Jonathan Solorzano's user avatar
2 votes
2 answers
4k 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
21 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 ...
HopelessN00b's user avatar
  • 53.9k
2 votes
3 answers
26k 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@...
Shahrukh Khan's 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: ...
Isaiah Lee's user avatar
0 votes
4 answers
5k 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 ...
WxFisch's user avatar
  • 11
11 votes
1 answer
11k 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 ...
BTownTKD's user avatar
  • 213
4 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 ...
Richard's user avatar
  • 749