Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 8062  / 1 Year ago, sun, december 11, 2022, 5:59:40

What is the Ubuntu equivalent of this interface?



How to log off a user in windows 7



I am looking for a user-friendly method that the owner of a computer can use to log off other users without having to restart.



The case I'm concerned about is of the beginner-level user who needs administrative control over the computer because they are the owner, but probably isn't concerned with most of the tasks we would usually associate with system administration.


More From » users

 Answers
7

I don't know of any place where this is plumbed through to the GUI.



sudo pkill -u <username> 


is really the simple way to do it, followed by



sudo pkill -KILL -u <username>


a bit later if it doesn't all shut down like it should. If the "non-technical" user in question isn't capable of remembering that, a script to prompt for a username and then run those commands would be about five lines of code and could have a link to it placed somewhere convenient.


[#44241] Sunday, December 11, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llael

Total Points: 209
Total Questions: 102
Total Answers: 118

Location: Rwanda
Member since Fri, May 5, 2023
1 Year ago
;