User Tools

Site Tools


sysadminery:linux_boilerplate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sysadminery:linux_boilerplate [2024/06/03 15:26] adamsysadminery:linux_boilerplate [2024/12/04 03:23] (current) adam
Line 9: Line 9:
   - setup pubkey login   - setup pubkey login
   - <code>sudo apt-get install vim</code>   - <code>sudo apt-get install vim</code>
-  - dotnet consideration: on debian12 there's ''/etc/profile''. On some systems there may be ''~/.bash_profile''. If you're using dotnet, you want to turn off MS spyware (as best you're able). Add this line: ''export DOTNET_CLI_TELEMETRY_OPTOUT=1''+  - dotnet consideration: on debian12 there's ''/etc/profile''. On some systems there may only be ''~/.bash_profile''debian 12 for example says that if it finds that it'll override ''/etc/profile'' and ''~/.profile'' If you're using dotnet, you want to turn off MS spyware (as best you're able). Add this line: ''export DOTNET_CLI_TELEMETRY_OPTOUT=1'' 
 + 
 +====== create a user ====== 
 + 
 +''sudo useradd -m -s /bin/bash [username]; passwd [username]'' 
 + 
 +  * -m is for "**M**ake a home directory, obviously, dafuq is wrong with you" 
 +  * -s is for "**S**hell should be the following", there's a default you can set in some file somewhere 
 + 
 +if you fucked up and missed the -s: ''chsh -s /bin/bash''. fuck knows what ''chsh'' without ''-s'' is for. 
  
 ====== cooperate with nas ====== ====== cooperate with nas ======
sysadminery/linux_boilerplate.1717428400.txt.gz · Last modified: 2024/06/03 15:26 by adam