1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-25 12:20:42 +01:00

Minor default settings cleanup

- Add 'rm -I' and 'cp -i' aliases to bashrc
 - Make sure tmpfsvar creates the log files that the login program expects
 - Restore 'tty' group; some scripts actually rely on that

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-09-15 15:53:46 +02:00
parent 7eb727e26f
commit d515f0dde2
3 changed files with 6 additions and 0 deletions

View file

@ -13,3 +13,5 @@ alias ll='ls --color=auto -l'
alias la='ls --color=auto -la'
alias l='ls --color=auto -alF'
alias ls='ls --color=auto'
alias rm='rm -I'
alias cp='cp -i'

View file

@ -8,5 +8,8 @@ exec {
mkdir /var/spool -m 0755
mkdir /var/lib -m 0755
mkdir /var/tmp -m 0755
touch /var/log/lastlog
touch /var/log/faillog
touch /var/log/sulog
/lib/libexec/init/overlay.sh var_lib /var/lib
}

View file

@ -1,4 +1,5 @@
root:x:0:
tty:x:5:
sshd:x:50:
dnsmasq:x:51:
unbound:x:52: