mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +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:
parent
7eb727e26f
commit
d515f0dde2
3 changed files with 6 additions and 0 deletions
|
@ -13,3 +13,5 @@ alias ll='ls --color=auto -l'
|
||||||
alias la='ls --color=auto -la'
|
alias la='ls --color=auto -la'
|
||||||
alias l='ls --color=auto -alF'
|
alias l='ls --color=auto -alF'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
|
alias rm='rm -I'
|
||||||
|
alias cp='cp -i'
|
||||||
|
|
|
@ -8,5 +8,8 @@ exec {
|
||||||
mkdir /var/spool -m 0755
|
mkdir /var/spool -m 0755
|
||||||
mkdir /var/lib -m 0755
|
mkdir /var/lib -m 0755
|
||||||
mkdir /var/tmp -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
|
/lib/libexec/init/overlay.sh var_lib /var/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
root:x:0:
|
root:x:0:
|
||||||
|
tty:x:5:
|
||||||
sshd:x:50:
|
sshd:x:50:
|
||||||
dnsmasq:x:51:
|
dnsmasq:x:51:
|
||||||
unbound:x:52:
|
unbound:x:52:
|
||||||
|
|
Loading…
Reference in a new issue