News for hackers. Stuff that matters.
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by camperman on Sunday May 29, 2016 @09:40AM (#11796317)
Aren't you worried that systemd won't silently kill the background process? :)
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by danieldk on Sunday May 29, 2016 @10:18AM (#11796443)
I know that you are probably joking, but you'd launch such a thing from a unit file. Hence, no silent killing.
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by akshatpradhan on Sunday May 29, 2016 @10:19AM (#11796448)
How would that even be possible?
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by morb on Sunday May 29, 2016 @11:44AM (#11796732)
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by TheCoreh on Sunday May 29, 2016 @11:27AM (#11796669)
A new change in systemd made it so that nohup'd processes are killed by systemd after you log out.
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by milankragujevic on Sunday May 29, 2016 @01:40PM (#11797289)
I'm not really linux-savvy, but if it's true and it does what I think it does, it's really stupid. A lot of my scripts rely on nohup to send something to background, and I often logout after running the script, so this would break my whole workflow.
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by stordoff on Sunday May 29, 2016 @02:04PM (#11797445)
Does that mean that something like "wget URL &" would be killed if I log out of SSH?
Re:Changes sshd port every 30 seconds, using Two Factor Auth... by MereInterest on Sunday May 29, 2016 @04:14PM (#11797997)
Why would they change that? Isn't that exactly why you would ever nohup a process?