Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

why would you log out?

In Windows you'd hit Windows-L, which would take you to the login screen, and then they'd click "Guest" (or whatever alternate login you've set up). You'd still be logged in, and when they were done (or were giving it back to you for five minutes) you press Windows-L again and choose your own login to switch back to your still-running programs.

I'd be astounding if Linux didn't have an equivalent.



sort by: page size:

It has been some time since I used linux, but in Windows, for your first question you just close the lid on your notebook or lock the screen(suspend), and for the "hard logout", you just logout, I thought Ubuntu used to work like this. PS: english is not my first language.

Hmm not if your users are trained to press Ctrl-Alt-Del again... The login screen would also allow them to order the OS to log off the current session too.

That's a neat trick, thanks for pointing me out. I've always wondered how Windows could have accomplished that. It's a shame that Linux doesn't have such an equivalent. If we are to do the same thing in Linux, a login shell (bash or zsh or even GNOME) would be the right place to implement?

How do you go back to Xorg? Logout/login and/or reboot or is there a better way? I'm asking this because I often need screen sharing to work with my customers (demoes, check problems, etc) and I'm sticking with Xorg because Wayland doesn't do screen sharing.

And then logout and login again, and have 200 sessions of shitty daemons like megasync or dropbox in your process manager.

No thanks.


I don't see any mention of how log out works. Is it as soon as the browser window is closed? I'd find that a little annoying on my own device, but it would be essential on a shared computer-- at the library for example.

I'm thinking a checkbox saying "Shared Computer" and issues a link with a different session length (or logout on window close) if checked?

Personally I love this idea as managing passwords has become really unwieldy and I don't trust any password manager service. Plus for a few sites that require really bizarre password length/character requirements/etc., I just reset them overtime I want to log in anyway.


You could potentially run some sort of "guest account" on your OS that is wiped clean on logout.

Have you tried not logging into Windows?

It was a huge effort for me to switch. Now almost 20 years later, I don't regret it. Wish I had done it sooner.


Ouch, what on earth does "log out" even mean? What a terrible way to run any computer other than maybe a single user laptop.

Modern operating systems have a guest mode which doesn't preserve state across sessions - if they cannot manage something this easy, everyone should be using a guest login.

Windows has a Guest account that automatically resets the profile when logging off, erasing any software keyloggers etc. Likewise you can look at processes using Task Manager or Process Explorer.

I have a "guest" account set up on my computers for exactly this reason. Windows' "fast user switching" gives me a nice way of quickly providing someone a handy "clean" environment for them to go wild with.

Not sure what the equivalent of this is in OSX or Linux.


And then how do you logout? How do you handle people wanting to login to a shared computer? (like in a conference room)

In college, some of our computers in the lab were old AIX Unix machines with character-mode logins. I was able to duplicate that logic screen with a program that would write the password to a file in my directory, then give an error message, logout and present the normal login screen. Users would think they typed their passwords incorrectly and then login again. It was naive of me because anyone who was on to me could have just killed the program and gotten access to my home directory.

After realizing how easy this was, I always made it a point to try and terminate the login screen, whenever I sat down at the console.


Can't this kinda be achieved with Windows and Windows Server with AD? You login to the server and it downloads the content for the session and when you logout the content is removed from the local computer?

I remember when in school they used to have this, which made logins take forever.


oh like the windows login?

This seems like it will be really useful for servers---I wonder how much it will matter for desktops though. Logging out and logging back in seems like a requirement for xorg, groups, etc. While it isn't a reboot, it still kills my windows and thus my workflow.

At least the windows 2000 pro and xp machines I used back in the day presented a dialog with both "lock computer", "open task manager", "switch user" or "log out".

Sometimes I use kill -15 -1 on Linux to log me out, but obviously not as root.
next

Legal | privacy