Settings --> PSN --> 'Activate as Your Primary PS4'
) Anyone on the second PS4 will be able to play games that your main account has downloaded to it. Your main account can still download and play its games on any PS4 by simply signing in and downloading them, so setting the second PS4 as your 'primary' one won't change anything for you on the first PS4.