Is it ok to "sudo shutdown -r now" ?

503 views
Skip to first unread message

Andrew Colfelt

unread,
Aug 6, 2014, 6:33:22 PM8/6/14
to securit...@googlegroups.com
Should I be working harder to stop nsm services explicitly, before issuing a "sudo reboot" or a "sudo shutdown -r now" ?

Matt Gregory

unread,
Aug 6, 2014, 7:40:50 PM8/6/14
to securit...@googlegroups.com
According to the reboot command man page, it just calls shutdown with the appropriate arguments, so there doesn't appear to be a difference unless you use reboot -f to force reboot.


Matt


On Wed, Aug 6, 2014 at 6:33 PM, Andrew Colfelt <abwco...@gmail.com> wrote:
Should I be working harder to stop nsm services explicitly, before issuing a "sudo reboot" or a "sudo shutdown -r now" ?

--
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at http://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.

Andrew Colfelt

unread,
Aug 12, 2014, 3:50:01 PM8/12/14
to securit...@googlegroups.com
I guess the more-specific form of the question should have been:

Do all SO processes terminate gracefully in response to "sudo shudtdown -r now", or should this be considered a practice that is dangerous to long-term stability of SO ?


On Wednesday, August 6, 2014 5:40:50 PM UTC-6, Matt wrote:
> According to the reboot command man page, it just calls shutdown with the appropriate arguments

>[...]
> http://linux.die.net/man/8/reboot

Doug Burks

unread,
Aug 13, 2014, 6:26:14 AM8/13/14
to securit...@googlegroups.com
Hi Andrew,

As far as I know, all processes should terminate gracefully in
response to "sudo shutdown -r now" (or just "sudo reboot" to save some
keystrokes).
> --
> You received this message because you are subscribed to the Google Groups "security-onion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
> To post to this group, send email to securit...@googlegroups.com.
> Visit this group at http://groups.google.com/group/security-onion.
> For more options, visit https://groups.google.com/d/optout.



--
Doug Burks
Need Security Onion Training or Commercial Support?
http://securityonionsolutions.com
Reply all
Reply to author
Forward
0 new messages