nl6720
66cfb270d6
Copy /etc/skel/ to user's home from build.sh instead of customize_airootfs.sh
...
Additionally copy the files to all custom user homes, not just root's.
2020-07-28 11:56:59 +03:00
nl6720
3a6a486904
Deprecate customize_airootfs.sh
...
Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
2020-07-28 11:56:58 +03:00
nl6720
796ac31655
Set root user's shell and password with custom /etc/passwd and /etc/shadow
...
Correct shadow file permissions from build.sh.
2020-07-20 13:39:41 +03:00
nl6720
dc1c81e446
Use /usr/bin/env in shebangs
2020-07-11 16:31:18 +03:00
nl6720
157333ba89
Keep /root permissions as 750
...
The filesystem package installs /root as 750 not 700.
Move chmod from customize_airootfs.sh to build.sh.
2020-07-11 16:30:25 +03:00
nl6720
44d1d5c5a6
Set timezone from outside chroot
2020-06-30 06:25:43 +03:00
nl6720
8f3976775e
Enable systemd units with symlinks instead of doing it via systemctl in chroot
2020-06-30 06:25:43 +03:00
nl6720
a0a6aa38c1
Use drop-in files for journald and logind configuration
2020-06-30 06:25:43 +03:00
David Runge
04389e73b4
Replacing dhcpcd with systemd-networkd and systemd-resolved
...
configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules:
Removing the udev rule for starting dhcpcd@.service on interfaces of the
form eth* and en*.
configs/releng/airootfs/etc/systemd/network/{ethernet,wireless}.network:
Adding default DHCP configurations for en*, eth*, wlp* and wlan*
interfaces.
configs/releng/airootfs/etc/resolv.conf:
Adding a symlink from /run/systemd/resolve/stub-resolv.conf to
/etc/resolv.conf (in airootfs).
configs/releng/airootfs/root/customize_airootfs.sh:
Adding systemd-networkd and systemd-resolved to the list of services
that are being enabled during airootfs customization.
2020-05-31 21:41:57 +02:00
David Runge
ec74019b6c
Unsetting the root password
...
Due to changes in the filesystem package [1] the current /etc/passwd
does not allow login without an empty root password anymore.
This becomes apparent, when switching to another TTY than the one
autologin is activated for.
By running passwd -d root we unset the password.
In the future this should go to a custom /etc/passwd file.
[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/filesystem&id=0320c909f3867d47576083e853543bab1705185b
2020-05-31 00:27:15 +02:00
Gerardo Exequiel Pozzi
f75e94bf1a
[configs/releng] Fix (again) sshd root login
...
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-09-11 21:06:55 -03:00
Gerardo Exequiel Pozzi
3f41096c87
[configs/releng] Ignore Lid/Sus/Hib switch/keys by logind
...
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-08-11 21:45:33 -03:00
Gerardo Exequiel Pozzi
49c7ac4f37
[configs/releng] Set old behavior of sshd PermitRootLogin -> yes
...
Requested at FS#45563
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-09 14:09:53 -03:00
Gerardo Exequiel Pozzi
720077de9c
[configs/releng] Remove unused 'arch' user
...
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-04-19 17:31:17 -03:00
Gerardo Exequiel Pozzi
34e8abddce
[configs/releng] Fix /root mode
...
Thanks Izumi Natsuka for reporting this.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-07-28 11:41:46 -03:00
Gerardo Exequiel Pozzi
e8afa0f962
[archiso] Rename root-image to airootfs
...
Two purposes:
* systemd filename friendly: "-" is used for "/" and must be escaped with "\x20"
* ISO9660 filename friendly: "-" is replaced with "_"
2014-06-28 00:35:50 -03:00