[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why do system users have valid shells



Dariush Pietrzak wrote:

'su -s /bin/bash -c "cmd" user '
sounds like a very bs argument

 Do you understand the term 'breakage' ?
How about the idea that changing something in the system may force to you
to rewrite parts of code?

Hence my original question. OK, it doesn't break cron, it does break 'su -c'. You can fix the latter by finding all instances of 'su -c' and replacing them with 'su -s /bin/sh -c'.

Is there anything else that will probably break?

Cheers,
Tobias




Reply to: