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

Re: Why do system users have valid shells



On Wed, 22 Oct 2003 09:53:10 +0200
Dariush Pietrzak <eyck@forumakad.pl> wrote:

> > Is there a reason why Debian chooses to specify /bin/sh for system 
>  don't know.
>  
> > accounts? Do we risk breaking anything if we perform an 
> > s/\/bin\/sh$/\/bin\/false/ ?
>  Yes, you'll run into trouble trying to run cronjobs as those system
>  users, also su user -c command won't work, you'll need to use sudo or
>  suid bit, and that's a bit messy.

'su -s /bin/bash -c "cmd" user ' 

sounds like a very bs argument

Gr,

Ivo



Reply to: