Skip to content

Commit 03d15bc

Browse files
committed
added some files
1 parent 4408348 commit 03d15bc

File tree

2 files changed

+165
-0
lines changed

2 files changed

+165
-0
lines changed

mkinitcpio.conf

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# vim:set ft=sh
2+
# MODULES
3+
# The following modules are loaded before any boot hooks are
4+
# run. Advanced users may wish to specify all system modules
5+
# in this array. For instance:
6+
# MODULES=(piix ide_disk reiserfs)
7+
MODULES=()
8+
9+
# BINARIES
10+
# This setting includes any additional binaries a given user may
11+
# wish into the CPIO image. This is run last, so it may be used to
12+
# override the actual binaries included by a given hook
13+
# BINARIES are dependency parsed, so you may safely ignore libraries
14+
BINARIES=()
15+
16+
# FILES
17+
# This setting is similar to BINARIES above, however, files are added
18+
# as-is and are not parsed in any way. This is useful for config files.
19+
FILES=()
20+
21+
# HOOKS
22+
# This is the most important setting in this file. The HOOKS control the
23+
# modules and scripts added to the image, and what happens at boot time.
24+
# Order is important, and it is recommended that you do not change the
25+
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
26+
# help on a given hook.
27+
# 'base' is _required_ unless you know precisely what you are doing.
28+
# 'udev' is _required_ in order to automatically load modules
29+
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
30+
# Examples:
31+
## This setup specifies all modules in the MODULES setting above.
32+
## No raid, lvm2, or encrypted root is needed.
33+
# HOOKS=(base)
34+
#
35+
## This setup will autodetect all modules for your system and should
36+
## work as a sane default
37+
# HOOKS=(base udev autodetect block filesystems)
38+
#
39+
## This setup will generate a 'full' image which supports most systems.
40+
## No autodetection is done.
41+
# HOOKS=(base udev block filesystems)
42+
#
43+
## This setup assembles a pata mdadm array with an encrypted root FS.
44+
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
45+
# HOOKS=(base udev block mdadm encrypt filesystems)
46+
#
47+
## This setup loads an lvm2 volume group on a usb device.
48+
# HOOKS=(base udev block lvm2 filesystems)
49+
#
50+
## NOTE: If you have /usr on a separate partition, you MUST include the
51+
# usr, fsck and shutdown hooks.
52+
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
53+
54+
# COMPRESSION
55+
# Use this to compress the initramfs image. By default, zstd compression
56+
# is used. Use 'cat' to create an uncompressed image.
57+
#COMPRESSION="zstd"
58+
#COMPRESSION="gzip"
59+
#COMPRESSION="bzip2"
60+
#COMPRESSION="lzma"
61+
#COMPRESSION="xz"
62+
#COMPRESSION="lzop"
63+
#COMPRESSION="lz4"
64+
65+
# COMPRESSION_OPTIONS
66+
# Additional options for the compressor
67+
#COMPRESSION_OPTIONS=()

sudoers

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
## sudoers file.
2+
##
3+
## This file MUST be edited with the 'visudo' command as root.
4+
## Failure to use 'visudo' may result in syntax or file permission errors
5+
## that prevent sudo from running.
6+
##
7+
## See the sudoers man page for the details on how to write a sudoers file.
8+
##
9+
10+
##
11+
## Host alias specification
12+
##
13+
## Groups of machines. These may include host names (optionally with wildcards),
14+
## IP addresses, network numbers or netgroups.
15+
# Host_Alias WEBSERVERS = www1, www2, www3
16+
17+
##
18+
## User alias specification
19+
##
20+
## Groups of users. These may consist of user names, uids, Unix groups,
21+
## or netgroups.
22+
# User_Alias ADMINS = millert, dowdy, mikef
23+
24+
##
25+
## Cmnd alias specification
26+
##
27+
## Groups of commands. Often used to group related commands together.
28+
# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
29+
# /usr/bin/pkill, /usr/bin/top
30+
# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
31+
32+
##
33+
## Defaults specification
34+
##
35+
## You may wish to keep some of the following environment variables
36+
## when running commands via sudo.
37+
##
38+
## Locale settings
39+
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
40+
##
41+
## Run X applications through sudo; HOME is used to find the
42+
## .Xauthority file. Note that other programs use HOME to find
43+
## configuration files and this may lead to privilege escalation!
44+
# Defaults env_keep += "HOME"
45+
##
46+
## X11 resource path settings
47+
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
48+
##
49+
## Desktop path settings
50+
# Defaults env_keep += "QTDIR KDEDIR"
51+
##
52+
## Allow sudo-run commands to inherit the callers' ConsoleKit session
53+
# Defaults env_keep += "XDG_SESSION_COOKIE"
54+
##
55+
## Uncomment to enable special input methods. Care should be taken as
56+
## this may allow users to subvert the command being run via sudo.
57+
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
58+
##
59+
## Uncomment to use a hard-coded PATH instead of the user's to find commands
60+
# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
61+
##
62+
## Uncomment to send mail if the user does not enter the correct password.
63+
# Defaults mail_badpass
64+
##
65+
## Uncomment to enable logging of a command's output, except for
66+
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
67+
# Defaults log_output
68+
# Defaults!/usr/bin/sudoreplay !log_output
69+
# Defaults!/usr/local/bin/sudoreplay !log_output
70+
# Defaults!REBOOT !log_output
71+
72+
##
73+
## Runas alias specification
74+
##
75+
76+
##
77+
## User privilege specification
78+
##
79+
root ALL=(ALL) ALL
80+
81+
## Uncomment to allow members of group wheel to execute any command
82+
# %wheel ALL=(ALL) ALL
83+
84+
## Same thing without a password
85+
# %wheel ALL=(ALL) NOPASSWD: ALL
86+
87+
## Uncomment to allow members of group sudo to execute any command
88+
# %sudo ALL=(ALL) ALL
89+
90+
## Uncomment to allow any user to run sudo if they know the password
91+
## of the user they are running the command as (root by default).
92+
# Defaults targetpw # Ask for the password of the target user
93+
# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
94+
95+
## Read drop-in files from /etc/sudoers.d
96+
@includedir /etc/sudoers.d
97+
## Same thing without a password
98+
ray ALL=(ALL) NOPASSWD: ALL

0 commit comments

Comments
 (0)