Shutdown and logoff

If I Goto (on my testing server)

Webmin> System> Bootup and Shutdown> Shutdown System>

Next to the Shutdown System button it sais.

Click on this button to immediately shutdown the system. All services will be stopped, all users disconnected and the system powered off (if your hardware supports it).

On the next page you get

Are you sure you want to shutdown the system with the command halt ? And another Shutdown System button.

When you shutdown and restart you are still logged in to the server.

Allan

Status: 
Closed (works as designed)

Comments

So do you mean when you click the shutdown button on the confirmation page, it doesn't actually shut the system down?

No it actually shuts the machine down, but when you restart you are still logged in and do not get the login screen.

Oh, you mean logged into Webmin? That is actually expected, as Webmin doesn't have any permanent connections that would be broken by a reboot. The message refers to SSH and FTP connections, which will be broken by a shutdown.

USUALLY what happens is 1 I start the machine. 2 I goto to https://myip:10000/ 3. I log in. 4. I do my work. 5. Because it is my testing server I shutdown using the “Shutdown System” button and all users are logged off and the machine is shut down. When I restart I have to go through the entire process ( steps 1 to 5 ) again.

YESTERDAY 1 I start the machine. 2 I goto to https://myip:10000/ 3. I log in. 4. I do my work. 5. Because there was another problem I decided to carry out a shutdown and restart to see if something was just not running properly and hopefully fix the problem. Instead when I restarted and opened a browser window and directed it to https://myip:10000/ I was still logged in to virtualmin.

Ok, Very strange. I turned off the testing server last night an left it off. Today when I switched it on and went to the login screen I was asked to login. I have shut down and restarted the server several times today and all is working perfectly. However yesterday when I shutdown and then restarted (4 times) I was still logged in and went straight to the systems information page.

I am very confused. If the behaviour returns I will report it here.

Allan

I would expect a reboot or shutdown / restart to leave you logged into Webmin, as sessions are keep in a file and so persist even when Webmin is restarted..

The exception would be if your session is idle for too long, it will be timed out. This could happen if the system is down for an extended period..