Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
who -u | grep -vE "^root " | kill `awk '{print $7}'` Logs all users out except root. 1Submit alternativeReport as maliciousReport as a duplicateCommand to logout all the users in one command It's only to logout all other user's except "root" Only to logout all users except root This command logs out all users - which is way more secure to use ps -ef and "grep" to kill processes.
Share Your CommandsKDE Console Logout command (with confirmation dialog)Notify me when users log inExecute a command on logoutShows users and 'virtual users' on your a unix-type system
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com