Topic 9

Dates: 3/28/2018
Start-up and Run Levels. Scheduled jobs (at, cron)
Linux System Administration


Exercises: working with Systemd targets


  • Viewing the Default Target:
    
    systemctl get-default
    
  • Viewing the Current Target
    
    systemctl list-units --type target
    


  • Changing the Default Target
    
    systemctl set-default multi-user.target
    
    Reboot. Run commands
    
    systemctl get-default
    systemctl list-units --type target
    

    Set password for root:
    
    sudo -s
    passwd
    

  • Changing the Current Target
    
    systemctl isolate graphical.target
    
    Check the Target units
    
    systemctl list-units --type target
    

  • Changing to Rescue Mode
    
    systemctl rescue
    
    Check the Target units
    
    systemctl list-units --type target
    

  • Changing to Emergency Mode
    
    systemctl emergency
    
    Check the Target units
    
    systemctl list-units --type target
    




  • Take me to the Course Website