Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash vulnerability - server reboot required [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1046
Location: Gentoo Forums

PostPosted: Thu Sep 25, 2014 4:07 pm    Post subject: Bash vulnerability - server reboot required [SOLVED] Reply with quote

Is there a safe way to restart all Bash instances without rebooting the server?
_________________
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick


Last edited by BlinkEye on Fri Sep 26, 2014 6:41 am; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 25, 2014 4:20 pm    Post subject: Reply with quote

Bash itself isn't a service, it's a shell.
pkill -9 bash
should do the trick.

The caveat is that anyone using it will be terminated abruptly, including you running that command, but in this case that's a good thing.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 594

PostPosted: Thu Sep 25, 2014 11:56 pm    Post subject: Reply with quote

If you're worried about the "shellshock" vulnerability, you don't need to restart Bash, you just need to update it. The vulnerability is only triggered when Bash is started, so once the vulnerable version is replaced, all attempts to trigger it will use a version that isn't affected.
Back to top
View user's profile Send private message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1046
Location: Gentoo Forums

PostPosted: Fri Sep 26, 2014 6:41 am    Post subject: Reply with quote

I see, thanks.
_________________
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum