mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-25 09:53:22 -05:00
The securetty supports both devfs and non-devfs, and the fstab works
for both inittab examples because mtab -> /proc/mounts.
This commit is contained in:
parent
73dd0dc897
commit
264cf307da
22
yard/replacements/etc/fstab.example
Normal file
22
yard/replacements/etc/fstab.example
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# $Id$
|
||||||
|
# Used by Example.yard
|
||||||
|
|
||||||
|
# DEVICE MOUNTPOINT TYPE OPTIONS DUMP FSCKORDER
|
||||||
|
#----------------------------------------------------------------
|
||||||
|
## Choose an appropriate root mount.
|
||||||
|
/dev/ram0 / ext2 defaults
|
||||||
|
# /dev/ubd/0 / ext2 defaults 1 1
|
||||||
|
# If you have this, uncomment it.
|
||||||
|
devpts /dev/pts devpts mode=0622 0 0
|
||||||
|
/proc /proc proc defaults
|
||||||
|
# swapon swapfile created by make_swapfile from make_debian-x11.
|
||||||
|
/swapfile none swap sw 0 0
|
||||||
|
|
||||||
|
# Entries adapted from existing fstab:
|
||||||
|
#/dev/hda3 /OLDROOT ext2 defaults,errors=remount-ro,noauto 0 1
|
||||||
|
#/dev/hda1 none swap sw 0 0
|
||||||
|
/dev/fd0 /OLDROOT/floppy auto defaults,user,noauto 0 0
|
||||||
|
/dev/cdrom /OLDROOT/cdrom iso9660 defaults,ro,user,noauto 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
35
yard/replacements/etc/securetty.example
Normal file
35
yard/replacements/etc/securetty.example
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# /etc/securetty: list of terminals on which root is allowed to login.
|
||||||
|
# See securetty(5) and login(1).
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
# Used by the Example.yard template.
|
||||||
|
|
||||||
|
# devfs
|
||||||
|
ttys/0
|
||||||
|
ttys/1
|
||||||
|
ttys/2
|
||||||
|
ttys/3
|
||||||
|
ttys/4
|
||||||
|
ttys/5
|
||||||
|
ttys/6
|
||||||
|
ttys/7
|
||||||
|
ttys/8
|
||||||
|
serial/0
|
||||||
|
serial/1
|
||||||
|
serial/2
|
||||||
|
serial/3
|
||||||
|
|
||||||
|
# nodevfs
|
||||||
|
tty0
|
||||||
|
tty1
|
||||||
|
tty2
|
||||||
|
tty3
|
||||||
|
tty4
|
||||||
|
tty5
|
||||||
|
tty6
|
||||||
|
tty7
|
||||||
|
tty8
|
||||||
|
serial0
|
||||||
|
serial1
|
||||||
|
serial2
|
||||||
|
serial3
|
Loading…
x
Reference in New Issue
Block a user