To forcibly log a user out use the following commands
sudo launchctl bootout gui/$(id -u
)
or
sudo launchctl bootout user/$(id -u
)
Hits: 102
Simple IT Solutions for Systems Admins and Engineers
To forcibly log a user out use the following commands
sudo launchctl bootout gui/$(id -u
)
or
sudo launchctl bootout user/$(id -u
)
Hits: 102