Questions tagged [home]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
35 views

Creating an empty file inside a folder

Does anyone know how to enter a Linux command to create an empty file called test1 in the directory systems while you are still in your home directory using the touch command?
0
votes
1answer
17 views

Making use of second (ext3) hard drive

I have two hard drives. Both are FireCudas, "half ssd, half hdd". One has 1TB of space and the other, with my Manjaro on it, has 480GB. Up until now (for 2 years) i have not used the second drive, ...
0
votes
1answer
20 views

shared home with Mac OS

I have ubuntu (actually pop_os) and mac os on my laptop. To not get it too messy, some of my folders like documents, movie, music are used by both systems. The problem I encounter is due to the ...
1
vote
1answer
45 views

How can I `usermod` old users with new `/etc/skel` files?

I want to "update" old users with new /etc/skel content on Debian and Ubuntu installations. Scripting this is possible... find /home -maxdepth 1 -mindepth 1 -type d | while read homedir; do user="...
0
votes
1answer
31 views

Executed chmod -R 777 to home directory by accident, remedy?

I accidentally ran chmod -R 777 to my home directory. I don't feel the change, but I'm afraid something bad will happen without me knowing. Is there a way to restore it to normal?
0
votes
3answers
40 views

home permissins are still too generous

i guess i'm still missing something, but after some time of researching (without any clear statements), i have to consult the experts: i'm using Linux Mint MATE (Ubuntu based) and know, therefore a ...
1
vote
1answer
66 views

Difference between /$ and ~$

When I log into a server running Ubuntu 18.04.3 (LTS) x64 and run ls nothing shows and there is a ~$ at the end of the command prompt. When I type cd / the prompt changes to /$ and I can see many more ...
0
votes
3answers
79 views

how to create a ~/bin folder in all user's home location?

We want to create a personal bin directory in all user's home location. Is there any way to create a ~/bin folder by default, when we create users for the first time?
0
votes
0answers
26 views

Applications directory in home directory reappears after deletion

When I ran the AppImage for the Unity game editor, it created a directory called Applications in my home directory. Recently, I decided that I don't want to use Unity, and I deleted the Applications ...
0
votes
0answers
27 views

Is $HOME/.local/bin now the preferred location of user-made binaries and scripts or does $HOME/bin still meant fulfull this role? [duplicate]

When I create my own binaries and executable scripts, is the $HOME/.local/bin the preferred convention or should I still be placing them in $HOME/bin? Putting them into .local/ would help to de-...
0
votes
2answers
53 views

Move home directories for users who don't exist?

Some time ago we migrated services from an old CentOs installation to RedHat. Part of this process was copying the /home directory to the new installation. The new RedHat installation has fewer users ...
0
votes
1answer
186 views

.bashrc not read on WSL if $HOME contains spaces

I recently: Specified a home directory path for a user in /etc/passwd with spaces in it? but now my .bashrc doesn't source properly when I open a Ubuntu 16.04 LTS WSL window, so I have to source it ...
0
votes
1answer
77 views

Specify a home directory path for a user in /etc/passwd with spaces in it?

I have a path I want to use as a home directory in WSL, but it's also path that has spaces in it. I've tried escaping the spaces with slashes, and I've tried using single and double quotes with just ...
1
vote
0answers
174 views

SSH ERROR: Unable to write random seed: open(“/home/gitlab-runner/.putty/randomseed”) returned 'Permission denied'

I'm trying to use plink to establish a connection to a remote server and remove an entry in SIP user list using the following command: plink root@<ip> -pw pwd serctl ul rm bob which then asks ...
1
vote
0answers
51 views

Absolute path to current user's home directory without using bash expansions?

This is a problem that crops up from time to time and annoys me greatly. Sometimes I need to provide an absolute path, normally in a configuration file, that should refer to the current user's home ...
1
vote
0answers
35 views

Manjaro boot errors

When running linux I get an error about starting /home partition. This section is encrypted. Below is the log journalctl-xe from the start. Since the log file is too large, I leave a link to it. ...
1
vote
0answers
93 views

Why are my settings in user-dirs.conf not taking affect?

I want the XDG specification folders in my home directory to be lowercase. I've created a file ~/.config/user-dirs.conf and updated it as such: enabled=True filename_encoding=UTF-8 DESKTOP=desktop2 ...
0
votes
1answer
45 views

After change username, the new usarname not display in the login Window [closed]

I to change my username how here (answer from **Egil*) to say, but the username from the login window not change... Can Please anyone help me, thanks!
1
vote
1answer
113 views

Snapper Exclusions in `/home` (btrfs)

Is there a standard approach, when using snapper on btrfs, to exclude directories under users' home folders? Say... ~/.cache/yay on Arch. Or possibly even ~/.cache as a whole. Of course, I know the ...
0
votes
1answer
631 views

How to remove programs completely on Arch Linux, including files that it created in home directories?

I'd atom installed on the system and tried to remove it with: pacman -Rs atom I still have a .atom folder in /home/user and another Atom folder in /home/user/.config, not sure whether there's ...
2
votes
1answer
51 views

What are reasons for organising /home with initial-letter subdirs (ie LETTERHOMES)?

On my home Linux, a user named toto will have its home in /home/toto. On the system at my high school, such an user would be in /home/t/toto. I understand this is due to the configuration of ...
1
vote
1answer
298 views

Crypt /home partition after install (CentOS 7) or reinstall?

I recently installed CentOS 7 on a computer with high-end hardware (8-core processor, NVMe 512GB SSD, 16GB RAM). My customer wants /home to be crypted and I was not aware of that, so that I didn't ...
1
vote
1answer
180 views

Separate /home from root? (Linux Mint)

My computer recently got messed up because of timeshift filling up all my storage. I had to erase my partitions and reinstall Mint. Some users said to separate /home from root next time. In other ...
0
votes
1answer
41 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
61 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
579 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
49 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
99 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
278 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
98 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
168 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
52 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
41 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
68 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
265 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
146 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
679 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 ...
-1
votes
1answer
407 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
36 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
500 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
224 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
688 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
761 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
75 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
124 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
1k 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
538 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
182 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
88 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 2 3 4 5 7