Linux System Configuration: Difference between revisions
Jump to navigation
Jump to search
m Added User Creation and Passwords sections |
m Added NanoRC configuration |
||
Line 119: | Line 119: | ||
| Passwords | | Passwords | ||
| colspan=2 | <code>passwd <username></code> | | colspan=2 | <code>passwd <username></code> | ||
|- | |||
| NanoRC | |||
| colspan=2 | | |||
{| style="margin-left:auto;margin-right:auto;" | |||
| | |||
{| style="text-align:left;" | |||
| {{hc|/etc/nanorc|2= | |||
<nowiki>set boldtext | |||
set casesensitive | |||
set constantshow | |||
set locking | |||
set whitespace "»·" | |||
set titlecolor bold,lightwhite,blue | |||
set promptcolor lightwhite,lightblack | |||
set statuscolor bold,lightwhite,green | |||
set errorcolor bold,lightwhite,red | |||
set spotlightcolor black,lime | |||
set selectedcolor lightwhite,magenta | |||
set stripecolor ,yellow | |||
set scrollercolor cyan | |||
set numbercolor cyan | |||
set keycolor cyan | |||
set functioncolor green | |||
include /usr/share/nano/*.nanorc | |||
include /usr/share/nano-syntax-highlighting/*.nanorc</nowiki>}} | |||
| style="vertical-align:top" | | |||
{{hc|/root/.nanorc|2= | |||
<nowiki>set titlecolor bold,lightwhite,magenta | |||
set promptcolor black,yellow | |||
set statuscolor bold,lightwhite,magenta | |||
set errorcolor bold,lightwhite,red | |||
set spotlightcolor black,orange | |||
set selectedcolor lightwhite,cyan | |||
set stripecolor ,yellow | |||
set scrollercolor magenta | |||
set numbercolor magenta | |||
set keycolor lightmagenta | |||
set functioncolor magenta</nowiki>}} | |||
|} | |||
|} | |||
|- | |- | ||
| PolicyKit rootpw | | PolicyKit rootpw |
Revision as of 04:06, 13 May 2021
Description | Alpine | Arch | Debian | Void | |
---|---|---|---|---|---|
Laptop Lid Switch Fix |
|
| |||
Time Zone | ln -s /etc/zoneinfo/<Country>/<City> /etc/localtime
|
ln -s /usr/share/zoneinfo/<Country>/<City> /etc/localtime
| |||
Locale Availability | apk add musl-locales
|
${EDITOR} /etc/locale.gen; locale-gen
| |||
Locale Selection |
|
| |||
Keymap | setup-keymap
|
| |||
Console Font | ${EDITOR} /etc/conf.d/consolefont; rc-update add consolefont boot
| ||||
Hostname | echo "hostname" > /etc/hostname
| ||||
Hosts |
| ||||
Initramfs | ${EDITOR} /etc/mkinitfs.conf; mkinitfs
|
| |||
User Creation | useradd -m -u <nnnn> -g users -G wheel,games,video,audio,optical,storage,scanner,power <username>
| ||||
Passwords | passwd <username>
| ||||
NanoRC |
| ||||
PolicyKit rootpw |
| ||||
Sticky bit directories |
| ||||
NTP Client ([Open]NTP) |
| ||||
NTP Client (systemd-timesyncd) |
| ||||
NTP Server |
| ||||
SMARTd |
| ||||
Limit Logs |
| ||||
Reduced service timeout |
| ||||
systemd-resolved local host name resolution |
| ||||
systemd-resolved with avahi |
|