mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Clean up bash profile
This commit is contained in:
@@ -656,12 +656,14 @@ detect_os() {
|
||||
|
||||
}
|
||||
|
||||
disable_onion_user() {
|
||||
# Disable the default account cause security.
|
||||
usermod -L onion
|
||||
|
||||
disable_auto_start() {
|
||||
|
||||
# Remove the automated setup script from crontab, if it exists
|
||||
crontab -u onion -r
|
||||
crontab -u $USER -r
|
||||
|
||||
# Truncate last line of the bash profile
|
||||
sed -i '$ d' /home/$USER/.bash_profile
|
||||
|
||||
}
|
||||
|
||||
disable_misc_network_features() {
|
||||
|
||||
Reference in New Issue
Block a user