Questions tagged [etc]

/etc is the directory that holds the essential system and software configuration. Use this tag for questions on the organization of /etc or the syntax of configuration files within /etc. Don't use this tag for questions on the configuration of particular software.

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
351 views

Absolute domain names in /etc/hosts?

I have a RHEL7.0 host which has this standard entry in /etc/hosts/: 127.0.0.1 localhost.localdomain localhost So resolving localhost.localdomain works: $ ping localhost.localdomain PING localhost....
2
votes
0answers
80 views

Can msmtp rewrite addresses?

I am trying to get all my system emails to be forwarded to my gmail address, using msmtp 1.8.3 and /etc/aliases on debian. It works, but I get errors from gmail. When I email root (via echo "hello ...
2
votes
0answers
134 views

Embedded Linux without init.d?

I've recently built a custom Embedded Linux version for my single-board computer using Yocto. But this build is new to me - there are neither /etc/init.d folder, nor /etc/networking/interfaces ...
2
votes
0answers
451 views

How to change the motd on a Linux distribution that has no /etc/motd ?

I have seen a simple tutorial on how to put ascii art in the /etc/motd in order to show it each time the PC starts as the message of the day. Unfortunately Linux Mint Rebecca does not have a /etc/motd....
1
vote
0answers
28 views

Stuck setting up multiple network interfaces with one gateway using /etc/network/interfaces

I'm an advanced noob and I'm running into the limitations of my understanding of how to set up my network. My gateway to the internet should be 10.0.1.1, and I have 2 PCI 10ge nic cards installed to ...
1
vote
1answer
32 views

Git/etckeeper shared between systems

I've four Raspberry PiZeroW on my system running ArchLinux ARM (alarm) that I use solely as snapclient for streaming music synchronously about the house. Initially I had one PiZeroW and I used ...
1
vote
0answers
30 views

How to create user who will not be using /etc/passwd for authentication?

I want to add a user to my Ubuntu who will be authenticated using SQLite or another database. I don't want to use /etc/passwd file. How can I achieve it?
1
vote
1answer
68 views

Find hostname of Mac OS client for NFS /etc/exports (permission denied)

I'm trying to set up an NFS server to browse files from a remote Ubuntu server on a Mac client. I'm having trouble finding out what to put as my client hostname/address in the /etc/exports entry. I ...
1
vote
0answers
136 views

A more permanent change to readonly squashfs mounted /etc

I have an IP-camera with the BusyBox v1.22.1 operating system that has some accounts either without or with public known passwords that I want to change to make it more secure. I have managed to log ...
1
vote
0answers
28 views

AuFS reads and writes from different branches

I'm looking for a way to keep /etc files from a distribution intact, and keep any customizations in a separate partition, using AuFS to lay the customizations over the default files. Is it possible ...
1
vote
0answers
35 views

Disallow user from entering, listing specific folders

I have a question about, how can I restrict a standard user from entering the /etc folder? My goal is to have a user with bash, who can enter the /var/www/html folder and its own home folder but ...
1
vote
0answers
38 views

Dual Boot System File Issues with /Etc/ Hosts and Profile

I've done my first dual boot with Windows 10 and Ubuntu 16.04. While I used to have a Linux only set up, my current job needs me to interact with Windows software regularly. So, I've had two ...
1
vote
0answers
982 views

Changing home directory by editing /etc/passwd

I am reading a book about Linux. It says that one of the ways (although not the best - I am aware that this can also be done with usermod) to change the home directory of a user is to change the home ...
1
vote
1answer
212 views

What does it mean to “just add /dev, /etc, and a Linux kernel” - BusyBox

I have been reading the documentation of BusyBox with the intention of using its small filesize to make a bootable cd. The documentation states To create a working system, just add /dev, /etc, and ...
1
vote
0answers
321 views

overlayfs root filesystem, cannot read /etc/mtab

I'm doing the following: mkdir /tmp/upper /tmp/work mount -t overlay overlay -o lowerdir=/,upperdir=/tmp/upper,workdir=/tmp/work / ls -l /etc/mtab > lrwxrwxrwx 1 root root 19 27. Feb 09:16 /etc/...
1
vote
0answers
1k views

Value of /proc/sys/kernel/hostname

I've set computer hostname in /etc/hostname a while ago (also there are record in /etc/hosts). Everything worked fine, but recently I've noticed that value of hostname (and /proc/sys/kernel/hostname) ...
0
votes
0answers
23 views

What replaces /etc/services in openSUSE, and how

I am running openSUSE Linux, the Tumbleweed version. I discovered that it does not use an /etc/services file, though I do not know what is replacing it, or how it is done, and I do not have much ...
0
votes
0answers
181 views

vsftpd service does not start saying vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

I am configuring with Ansible a VM running Ubuntu to run this FTP server: vsftpd, however after the installation when I inspect the logs with journalctl -u vsftpd.service I see: Nov 20 17:49:58 my-vm ...
0
votes
1answer
67 views

Password Settings of AIX

esaadmin: password = * dbahx: password = ************* sysgina: password = ************* fsecbp: password = C6qoi9yK.H0So Hi All, I am trying to understand what does password = **...
0
votes
2answers
323 views

Unable to save file in /etc/ssh/ because incorrect permissions (Linux Mint/Debian)

When I attempt to edit '/etc/ssh/sshd_config', and save the file, I get an error saying: 'Could not save the file /etc/ssh/sshd_config. You do not have the permissions necessary to save the file.. ...
0
votes
0answers
56 views

By enabling automatic security updates on CentOS/RHEL 7 how can I control the rest?

If I enable automatic security updates via "update_cmd = security" in "/etc/yum/yum-cron.conf" how am I able to control the "default" behavior of the other packages?
0
votes
0answers
128 views

Shall I run a sudo-required script in some shell configuration file?

Is it a good idea to put a sudo command in a shell configuration file? I have a bash script /home/t/bin/changeCpuFreq.sh which can change my cpu frequency. The line 40 in my script is echo $1 > /...
0
votes
1answer
132 views

Where you set path for golang or java in ubuntu?

In some tutorials path is set in ~/.profile however in some other tutorials they use etc/path or ~/.bashrc, can you explain whats the difference and how it works in linux.
0
votes
0answers
77 views

Where do CLI tools conventionally store config files?

I'm working on CLI tool written in python. There should be default config directory. Very similar to nginx approach: conf_root |__main.conf |__projects |__project1.conf |...
-1
votes
1answer
33 views

Why systemd stopping immediatly after spawning?

I am facing issue while loading vpp.service in systemd. I have written following service. [Unit] Description=Vector Packet Processing Process After=syslog.target network.target auditd.service [...
-1
votes
1answer
1k views

Account locked after adding line on /etc/passwd file

I have installed this version of Ubuntu on my laptop. └─ $ ▶ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: ...