home

Is noexec a standard setting for home?

Is noexec a standard setting for home? I have been told that noexec is a standard setting for /home folder for development environments. Can someone provide some references? Using noexec on /home prevents applications like IDEs, editors, etc. from working properly as expected. Asked By: user1221647 || Source I have been told that noexec is …

Total answers: 3

Ubuntu doesn't translate /home/testuser to ~

Ubuntu doesn't translate /home/testuser to ~ In Ubuntu 22.04.3 LTS, if I log in with the credentials of the LDAP user testuser, in several different programs the path of the $HOME directory is not replaced by ~ (as instead it happens for local users). A couple of examples: In bash, the value of PS1 is …

Total answers: 2

What is the best approach to backing up the /home directory to NTFS partition?

What is the best approach to backing up the /home directory to NTFS partition? I would like to do backups of my /home partition of my computer with Linux (Lubuntu 20.04) on weekly basis. The catch is that the only extra hard drive I own is connected to Windows machine. It seems that Windows can …

Total answers: 2

Home folder in /etc

Home folder in /etc I was yesterday trying to mount a partition & playing around with firejail, when I realized I have a ${HOME} folder (written just like that) in my /etc folder, even if my home folder is in the root folder (so now I have two, the ${HOME} and the /home.) I’m wondering …

Total answers: 1

What subdirectories of a user's home directory does the user have full control over?

What subdirectories of a user's home directory does the user have full control over? What subdirectories can a user create in his or her home directory ~ with the intent (and reasonable expectation that the intent will be honored) that only that user have write priviledges? For example, maybe a new user, ignorant of Vim, …

Total answers: 2

New notebook and factory partition

New notebook and factory partition First time using a linux, I’m using Debian 12. My notebook arrived with the following partition (512gb SSD), in this order (left to right in the disk viewer): /boot/efi – 537mb /root – 20gb recover (unmounted) – 10gb Swap – 16gb /home – 466gb Since I’ve started using it, I …

Total answers: 1

Why does sudo change HOME directory to /root on some Linux distros but not others?

Why does sudo change HOME directory to /root on some Linux distros but not others? In troubleshooting vi, I noticed on my Ubuntu installation running the command sudo env | grep HOME returns the home directory of the user that runs the command (/home/USER). But I noticed on my Linux Mint installation running the command …

Total answers: 1

Change home subdirectories' language

Change home subdirectories' language When I was installing manjaro, I set OS’s language to persian (my mother tongue). So home’s subdirs’ names are persian. How can I change their names to english? Asked By: Reza Hosseinzadeh || Source Set your desktop environment’s language to English. (I don’t know whether you’re using Manjaro plasma desktop, xfce …

Total answers: 1

Can I use other directory beside /home?

Can I use other directory beside /home? I’m out of space for my /home partition. I would like to use other directory to store some big files and videos. Is there directory that I can use? I think of /usr/myowndir or /mnt/myowndir. But I don’t have permission to write in /usr or /mnt dir. Is …

Total answers: 1

Mounting SSD on Debian Bullseye

Mounting SSD on Debian Bullseye I’m trying to use a USB-port connected SSD (external SSD) for my Linux home directory, and am encountering several strange behaviors. I am using ssh to connect to the machine. I’m running Debian from a USB stick (I tried installing the whole OS on the SSD directly but had issues …

Total answers: 1

share /home with nfs automount

share /home with nfs automount server vi /etc/exports /home 10.10.10..0/24(rw,sync) systemctl restart nfs-server client mkdir -p /home/user showmount -e 10.10.10.1 vi /etc/auto.master /- /etc/auto.home /home /etc/auto.home vi /etc/auto.home * -fstype=nfs,rw 10.10.10.1:/home systemctl start autofs systemctl enable autofs firewall disabled now i have three users, only one of them can login with his home dir the …

Total answers: 1

Making use of second (ext3) hard drive

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, however since my install is pretty fresh, i …

Total answers: 2

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

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=”$(stat -c%U $homedir)” su -c ‘tar -cf- -C /etc/skel . | tar -vxf- …

Total answers: 2

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

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 17.10 I get: $ echo $HOME /home/user $ sudo echo …

Total answers: 1

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

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 folders are shared using the users share name. Each user’s home directory is created as …

Total answers: 3

Is there a home directory location for overriding icons?

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/applications complements /usr/share/applications If I want to override an application, I can create a custom .desktop file and store it in ~/.local/share/applications. …

Total answers: 2

Can I use scp to copy files to the home directory without having to specify it?

Can I use scp to copy files to the home directory without having to specify it? I’ve followed this tutorial to see how to use scp to transfer files to my server. And all is well. So I’m using commands like this: scp examplefile yourusername@yourserver:/home/yourusername/ But I’m wondering if there’s a way for me to …

Total answers: 3

Can't log in, seemingly locked out of home directory

Can't log in, seemingly locked out of home directory I just switched over from Kubuntu to Feodra KDE Spin. Now, I have an LVM setup where my home partition is on its own volume. I created a user with the same username as the one I had in the last distro. I was dismayed to …

Total answers: 1