5af58b4514
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
# login.conf - login class capabilities database.
|
|
#
|
|
# Remember to rebuild the database after each change to this file:
|
|
#
|
|
# cap_mkdb /etc/login.conf
|
|
#
|
|
# This file controls resource limits, accounting limits and
|
|
# default user environment settings.
|
|
|
|
# defaults
|
|
# These settings are used by login(1) by default for classless users
|
|
# Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
|
|
|
|
default:\
|
|
:passwd_format=md5:\
|
|
:copyright=/etc/COPYRIGHT:\
|
|
:welcome=/etc/motd:\
|
|
:setenv=FTP_PASSIVE_MODE=YES:\
|
|
:path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/bin:\
|
|
:nologin=/etc/nologin:\
|
|
:cputime=unlimited:\
|
|
:datasize=unlimited:\
|
|
:stacksize=unlimited:\
|
|
:memorylocked=unlimited:\
|
|
:memoryuse=unlimited:\
|
|
:filesize=unlimited:\
|
|
:coredumpsize=unlimited:\
|
|
:openfiles=unlimited:\
|
|
:maxproc=unlimited:\
|
|
:sbsize=unlimited:\
|
|
:vmemoryuse=unlimited:\
|
|
:priority=0:\
|
|
:ignoretime@:\
|
|
:umask=022:
|
|
|
|
#
|
|
# Root can always login
|
|
#
|
|
# N.B. login_getpwclass(3) will use this entry for the root account,
|
|
# in preference to 'default'.
|
|
root:\
|
|
:ignorenologin:\
|
|
:tc=default:
|
|
|
|
#
|
|
# A collection of common class names - forward them all to 'default'
|
|
# (login would normally do this anyway, but having a class name
|
|
# here suppresses the diagnostic)
|
|
#
|
|
standard:\
|
|
:tc=default:
|
|
xuser:\
|
|
:tc=default:
|
|
daemon:\
|
|
:tc=default:
|
|
news:\
|
|
:tc=default:
|
|
|
|
#
|
|
# Russian Users Accounts. Setup proper environment variables.
|
|
#
|
|
#russian|Russian Users Accounts:\
|
|
# :charset=KOI8-R:\
|
|
# :lang=ru_RU.KOI8-R:\
|
|
# :tc=default:
|