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
vote
1answer
42 views

Terminals opening in root directory rather than $HOME

I recently moved my home directory to a different disk and now have it mounted on /home - which seems to have worked. However one puzzling thing is any terminal emulator I open (regardless of program, ...
1
vote
1answer
39 views

By creating a new user, does it have read and write permission to its own home directory?

I am totally new to the Linux world. If I create a new user, does it have read and write permission to its own home directory by default? Logically, it should, but I'm not sure.
0
votes
0answers
23 views

Is it dangerous to remove all config files in /home?

What can I do when I want to reset all of my configs (something like reset to factory!)? my /home in my pc is separated from / and changing os will remain my configs. what files and directories should ...
0
votes
2answers
52 views

Optimal rsync options for moving home directory

I am on an Ubuntu 16.04 LTS machine and in preparation for an upgrade to 18.04 LTS I want to move all /home directories (in fact there is only /home/juergen) to a separate, now free partition that I ...
1
vote
1answer
43 views

Distant access to /home directory using bind or symlink

I have a hard drive Data(FAT32) and I want it to contain my /home/username directory and its content so that the /home/username directory is 'artificial'. I have attempted to : use symlink (ln -s /...
2
votes
3answers
58 views

I want to move /home from one partition to another. How do I go about doing this?

I recently removed Windows from my computer which left me with a lot of unallocated space (which I later formatted to ext4). So I was wondering if it is possible to "copy" the /home ...
0
votes
1answer
35 views

How do I source a new .bashrc in an alias that switches my shell?

I have an alias I use to run sudo -s called ssu. I want it to also source my root session from the .profile in my home directory. Other answers seem to say that this is the solution: alias ssu='sudo -...
0
votes
0answers
11 views

content being copied from another driver to home

I have 4 data drivers and when I copy something to one of the drivers, it automatically get copied to one of the /home/user accounts. Wondering how to solve this?
0
votes
2answers
29 views

What is the correct path to store a user specific credentials file?

I guess ~/.config (XDG_CONFIG_HOME) is not correct because that way users have to be constantly aware which files are safe to commit to their dotfiles repository.
0
votes
0answers
24 views

Move Partition, or resize and create Partition from / to /home?

I have extra space on a partition pointed to "/" as indicated below. I want to utilize as much space as possible to "/home" but I feel I shouldn't simply change the partition to ...
0
votes
5answers
53 views

How to dynamically change owner of directory using awk output?

What I want to do : Takes user & their home directory list from /etc/passwd use the username and home address as parameters and change ownership of those directory to that user. Current outputs: ...
0
votes
0answers
40 views

Resizing home partition on debian 10

This question is a continuation of this question : Resize debian10 home partition (I market that question as answered becouse I coul resize home partition with gparted but I want to do this in command ...
1
vote
0answers
27 views

Run with different home directory

I'm trying to run some programs with a different home directory. I've tried changing $HOME when running programs, however several programs I was testing with did not properly use the home directory. ...
1
vote
1answer
75 views

Resize debian10 home partition

I am trying to resize home partition (after i made the swap partition smaller) in debian 10. Resizing swap partition was easy, to do this i use these commands : swapoff -a fdisk /dev/sda After ...
0
votes
1answer
36 views

Restore home folder from old /home folder

So, basically i reinstalled ubuntu 20.04 on SSD and now all the root swap and home partitions are on SSD itself. While doing that I did not format the old /home partition so all the old /home folder ...
0
votes
1answer
56 views

What will this do? “ cd /; ls -al > $HOME/outputfile.log ”

This was an exercise proposed to us in class' but I didn't get it. What exactly will these commands do? cd / ls -al > $HOME/outputfile.log I did try it (in Linux) but (apparently) nothing ...
0
votes
1answer
66 views

Encrypting home folder without filename encryption using `ecryptfs`

ecryptfs encrypts home folders with filename encryption by default. However, because of this, filenames with more than 143 characters can not exist in the home folder (while an unencrypted ext4 home ...
0
votes
1answer
104 views

Can i use the same /home partition for multiple distro's partitons [duplicate]

Hello Unix/Linux Stackexchange. I have a mulri-part question about the /home partition. Thanks for taking the time to read and reply to all the questions below. Is it possible to share the /home ...
0
votes
0answers
24 views

How to change Home directory in termux?

I want to change default home Directory in termux. So we can view and modified from the file explorer.
3
votes
1answer
112 views

Aspell: how to change home dir globally?

aspell creates following files in my home: .aspell.en.prepl .aspell.en.pws How can I change the location globally, i.e. to $HOME/.cache/aspell ? I need to reference the $HOME environment variables ...
0
votes
0answers
19 views

RSSH - Jail SCP User(s) to only particular directory

I have the two users ferit and scpferit on my Ubuntu server in these groups: ferit@ubuntuserver:~$ groups ferit ferit : ferit adm cdrom sudo dip plugdev lxd ferit@ubuntuserver:~$ groups scpferit ...
0
votes
2answers
30 views

Replace HHD home partiton with new SSD home partition

I have a 2 TB HDD which only contains my /home ext4 partion. Now I want to replace the 2 TB HDD by a new 1 TB SSD with a btfs filesystem. So I created the btrfs filesystem using GParted on the SDD and ...
1
vote
1answer
27 views

User Home Folder not visible from WinSCP/FileZilla

We have setup a Centos 7 FTP server. When we connect to it via WinSCP or FileZilla we get dropped in the user's Home Folder. Once we go a layer above that, so the /home folder we do not see the ...
0
votes
0answers
16 views

/home directory jumps between different partitions at boot

A while back I installed a new harddisk, because my home directory had become crowded. To save the data, I copied the existing home directory to a dedicated partition on an external drive, took out ...
0
votes
1answer
70 views

Linux home folder wrongly mounted after guest addition

I've run into a problem. I'll explain the issue as precise as I can. I run Ubuntu 19.10 on a VirtualBox 6.1.2 version. The problem looks like this: When I try to login to my Gnu/Linux account it ...
0
votes
0answers
17 views

How to check the password age of Users from Active Directory

I am working on Linux (RHEL and SLES) and am not a Linux administrator and don't have access to a Linux administrator. The users are from Active Directory hence I am not able to find/reset the ...
0
votes
3answers
25 views

Changing home folder for users

I have a question regarding changing the home folder for a user on the system. I was thinking I could do something like: new_folder_name="$2" user_name="$3" mkdir /home/$new_folder_name usermod -d -...
-1
votes
1answer
61 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
19 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
24 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
220 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
48 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
61 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
202 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
272 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
29 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
37 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
58 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
634 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
203 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
366 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
166 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
42 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
207 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!
2
votes
1answer
277 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
3k 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
57 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
786 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
407 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 ...

1
2 3 4 5
8