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]

The /home directory or partition contains user-specific configuration files, caches, application data and media files.

0
votes
1answer
30 views

Moving $HOME to /local/name123 on RHEL 7.6 (Maipo)

I don't have root rights on this machine. But I have two directories in which I can do basically everything, the original home (/home/name123) has only 1 GB space and the /local/name123 has 1 TB of ...
1
vote
1answer
35 views

Add (already created) partition for /home after OS installation

I made a separate partition for /home, but during installation process I forgot to mount it and hence no entry was made in fstab. I had everything in partition under the root ( well not the swap and ...
0
votes
1answer
85 views

A separate partition for a user's /home directory?

Is it possible to separate /home/$USER for one particular user into a separate partition in Arch Linux x86_64 with the 4.19.31-1-lts kermel? I want to encrypt one user's /home directory, but I prefer ...
1
vote
0answers
20 views

Roaming home folder : exempt specific file from roaming

At my high school we have computer labs totaling 80 Debian desktop machines, used by roughly 2000 users. Currently only the users' documents are roaming via the newtork, not the home folders per se, ...
0
votes
1answer
60 views

Limit the SSH and SFTP to a certain folder

Whilst creating a testuser, I was 99% sure that the user path would have been its home directory, and in theory nothing else could have been seen when connecting regardless. I was wrong, so in the ...
1
vote
1answer
74 views

cargo execution - permission denied [PREVIOUSLY]rust installation - permission denied

I have installed rust by curl https://sh.rustup.rs -sSf | sh and followed instructions thereof. Installation was successful and the PATH was added to the .bash_profile as follows: export PATH=$HOME/....
3
votes
2answers
74 views

Persistence of home directory after deleting all partitions and reinstalling:

I was running Ubuntu Server on a mdadm RAID1 volume, and I ran into some problems so I decided to just do a clean install. I booted with Gparted, stopped the mdadm array, and ran --zero-superblock ...
-1
votes
2answers
114 views

What kind of language construct is the swung dash (tilde, ~)?

The swung dash can be used in place of the home directory. Depending on the current user it has a different value. In this sense it works like a variable. Yet it is not a variable. I can't do echo $~...
0
votes
1answer
31 views

reusing home directory [closed]

I am using linux mostly for programming in python/go/C++ from vim in a shell. It always takes me sometime to set my environments right when installing a new machine. Any tips on how I can reuse an ...
0
votes
1answer
34 views

Reinstalled Ubuntu, i use separate /home partition, can't launch apps from previous install

I reinstalled Ubuntu after boot broke when updating to 18.10, since i had my home in a separate partition i thought i was not gonna lose my apps, mainly steam and it's games, but the previous apps don'...
1
vote
1answer
61 views

Number of home directories in children of /

I have to count the number of children directories of / that contain one or more home directories. For instance, if john, emily and rick have their home directories in /home/john , /home/emily and /...
0
votes
2answers
135 views

Unable to create tar with xz compression of a directory to another directory

I am trying to create a tar archive with xz compression of my home directory to another non-existent directory, but it gives me error: tar: Cowardly refusing to create an empty archive The command ...
0
votes
1answer
45 views

Why are there two home folders in my Ubuntu 18.04 installation?

I have successfully installed Ubuntu 18.04 along with Windows 10 on my computer (SSD 96GB + HDD 1TB). The SSD drive has two major partitions (excluding recovery and efi): Windows partition (...
3
votes
1answer
674 views

What's the different between with a ~ and without a ~ in a string variable in Bash? [duplicate]

I'm using a dotfile manage software, named dotdrop. Using a config file named .env, contents like: git_folder="~/code/Git". Also use a script to setup this dotfile tool before the first use of it, as ...
0
votes
0answers
19 views

How to stop permissions on data partition being changed on boot?

I have a data partition (ext4 filesystem) that I mount onto /data, with my user account (the one I use across all distros, same username, same uid and in the wheel group) and the wheel group being its ...
-1
votes
1answer
122 views

Unable to change home folder setting in Samba/Winbind

I'm using a Debian 8 server at work. Recently, I used Samba and Winbind to join it to the domain. This domain is managed by Active Directory on a Windows Server machine. This all works: domain users ...
0
votes
0answers
34 views

Where, outside of $HOME if anywhere, might account specific configs be found?

I have a most bamboozling problem. I had a Mint 18 machine with Eclipse Neon. All worked fine. I upgraded to Mint 19 and Eclipse Photon. Suddenly Eclipse is unusable. The exact issue is ...
2
votes
1answer
193 views

how to re-mount a home directory of a specific user to a partition

My system is Ubuntu and there are three users on it. Also, I have some partitions: /dev/sda1, /dev/sda2 and /dev/sdc1. For now the whole /home directory is mounted on the /dev/sda2, the whole root / ...
2
votes
1answer
152 views

sudo -u user bash works but $HOME is not changing accordingly

I'm writing a script to setup new debian install's. The problem is in this code: if [ ! -z "$USER1" ] then sudo -u "$USER1" bash <<-EOF cp "$BASHRC $HOME"/.bashrc wget https://raw....
1
vote
1answer
270 views

Get pwd/cwd with the $HOME variable

If I type pwd, I get: /home/oleg/WebstormProjects/oresoftware/r2g.example what I am looking to do is automatically generate this instead: $HOME/WebstormProjects/oresoftware/r2g.example what might ...
0
votes
2answers
310 views

How to solve $HOME/.dmrc file permission error?

I recently had a problem and here is the solution of it. After following these steps I fixed my problem, but faced another one. On Login window after I enter my password and press Enter, this message ...
-5
votes
1answer
64 views

Deleted a separate /home directory resulting various error [duplicate]

I have installed Kali Linux with the separate /home directory option. Problem is /home directory have larger space, and shortly after I wanted to merge it to my main kali partition. So since I can't ...
0
votes
3answers
79 views

Script to validate home dir

I want to write a simple Bash script which displays the path to the home directory of a user when an actual user name is used as an argument and displays user not found or something when a user name ...
0
votes
1answer
710 views

Recover encrypted /home folder in Linux Mint

I'm trying to recover my personnal folder (/home/userfloflo) from an old installation of linux mint which doesn't boot anymore. I'm trying to retrieve this folder with a linux mint live usb. When i ...
-4
votes
1answer
377 views

unix, adding users to existing directory in centos

I'm trying to add users to an existing directory but I keep getting: useradd: warning: the home directory already exists. Not copying any file from skel directory into it. I want to add users to ...
0
votes
1answer
68 views

Installing a fresh OS on an old /home

I was considering changing from Ubuntu to Kubuntu (I just think it looks pretty!)...I created a separate partition for /home when I set this up so when I install Kubuntu after removing Ubuntu how much ...
3
votes
1answer
79 views

Secure Linux to use in workplace [closed]

I was going to ask this in workplace.stackexchange.com but finally I decided to ask this question here as it's more appropriate. I'm going to a new office and we can't use our own laptops therefore I ...
38
votes
1answer
3k views

How do Ubuntu and Debian manage $HOME for users with sudo privileges?

I have a bash script myhome.sh containing only one line: echo $HOME The script's owner is a user: $ ls -l myhome.sh -rw-rw-r-- 1 user user <date> <time> myhome.sh In Ubuntu 16.04 and ...
1
vote
1answer
187 views

Encrypted Home Directory Problems/Questions

I usually use full disk encryption but I want to create a Ubuntu server that multiple user can use as a file server (using SSHFS GUI clients) and therefore I want their home directories to be ...
0
votes
1answer
61 views

Why does usermod require root permission to change home dir?

I want to move my home dir. I have read, write and execute access to both the old and new home. Why can't I tell Linux I want my home there instead? I see usermod -m -d /newhome/username username ...
1
vote
0answers
40 views

Home folder freespace filled up by system updater. No files found

I just installed linux mint 18.3 and ran the system updater (I'm new to linux). Before the updates I had about 6.5GB of freespace on my /home partition (I partition 7.2GB at OS install for /home, 30GB ...
1
vote
1answer
35 views

How to pass multiple DB files to locate?

I want to pass multiple DB files to the locate command, like this: locate -d ~/.a_locate.db:~/.b_locate.db: -Ai file_to_find But this gives me this error: locate: can not stat () `~/.b_locate.db': ...
-1
votes
1answer
448 views

PAM Module mkhomedir with an already existing home

I did set up a PAM authentication towards LDAP. It's all working correctly but I have an issue when I have both a local user and an ldap user with the same name but different UID. I'm working on RH6 ...
2
votes
1answer
38 views

Is there a way in Linux to preserve folder size for safety

I want to install a data manipulation solution. The solution is deployed in a folder in home directory. Free space in disk is uncontrollable and can shrink at any moment (other users data). How can I ...
4
votes
2answers
725 views

Can I ssh via public key if there is no home directory on the remote system?

I currently have to ssh with user FOO then sudo to user BAR. I would like to ssh using a public key, but on the remote system there is no home directory for user FOO, so obviously no .ssh/...
2
votes
0answers
126 views

Every time I open a terminal is located in / not in home

I recently installed Fedora -- a fresh installation. I have a problem: every time I open a new urxvt or gnome terminal it starts in the root of the system instead of my home. I checked my /etc/passwd ...
0
votes
1answer
102 views

Read permission other user's home directory

I'm having some issues with users read/write permissions on home directories. I've an user who is allowed to upload data through ftp (let's say ftp_user) and this user has it's own /home/ftp_user ...
0
votes
2answers
2k views

Samba: How to prevent Samba-server from auto-providing users /home-directory as a shared-folder?

Like described here, Samba-servers on Linux provide the users /home-directory as a shared-folder automatically. How can I prevent this behavior? In the following, the directory containing the home ...
0
votes
1answer
529 views

Why permission denied from folder that is a symlink of a home's subfolder?

In my Fedora I have some additional HDD with partition mounted as /media/dilnix/data witch contains the most of my huge files sorted in folders like "Music", "Downloads", "Video" etc. Those folders ...
0
votes
1answer
154 views

Sound not working when mounting on /home

I have a Debian/Windows 10 dual boot system with a shared Data partition that I mount on /home. The problem is: if I mount anything on /home or on /home/$USERNAME, sound does not work anymore. (See ...
-1
votes
1answer
2k views

How do I find the passphrase which encrypts my home directory? [closed]

Years ago I installed Ubuntu and encrypted my home directory. I can still log in as normal, I know my password and I have access to my files. Just now, installing Lubuntu on another machine, I saw ...
0
votes
2answers
45 views

Which package wrote a specific file to ~/.config

How can I find out, which package usually creates a specific file (or folder) in the ~/.config folder? This is important, for developers and distributors, who do not want that two packages write to ...
2
votes
1answer
42 views

Is there a good reason to keep some files in $HOME/.cache when backing up?

I'm about to back up some parts of my filesystem, including my home directory. I'm looking at $HOME/.cache, and wondering what I should do with it. I know that it's safe to just delete it altogether, ...
0
votes
1answer
879 views

How to auto-mount HDD within encrypted /home partition/directory?

My machine has a secondary (NTFS-formatted) internal hard disk drive containing most of my personal files and data. I wish to auto-mount this drive under my user HOME. However, during installation of ...
0
votes
2answers
591 views

Can I userdel a user without removing their home directory?

I did the following: useradd -d /home/iauser -m -s /bin/bash -c "IA User" iauser got this error: UX: useradd: ERROR: Create home directory failed. Operation not applicable It created an entry in ...
2
votes
1answer
2k views

Is there a home directory location for overriding icons?

There are a few home directory locations that complement /usr locations. Files in these locations override their /usr counterparts. For example: ~/.local/bin complements /usr/bin ~/.local/share/...
0
votes
1answer
1k views

How to mount a xfs volume to centOS 7 ec2 instance /home directory

I created t2.medium instance and attached ebs volume to the instance Here are some useful information. sudo pvs PV VG Fmt Attr PSize PFree /dev/xvdb1 vg_home lvm2 a-- <200....
3
votes
1answer
697 views

Determining home dir of a user

I need to know how home directory for a linux user is determined. Everyone's answer would be "hey, look at /etc/passwd and find it out". But this seems not to be always correct. Look at this: $ ...
1
vote
0answers
618 views

$HOME path abbreviation in shell prompt

I changed my username using this instruction and now, in shell prompt current path, I no longer see $HOME to be abbreviated with a tilde as soon as I change directory. For example when I open gnome-...
0
votes
1answer
435 views

What is the user equivalent of the global /opt directory?

I'm wondering if anybody has agreed on a user equivalent of the global /opt directory, for third-party packages that are distributed as a tarball to be unpacked as a single directory. Examples include ...