> Looking in the /etc/passwd in my RH 8.0 instalation, the users
> 
> news:x:9:13:news:/etc/news:
> rpm:x:37:37::/var/lib/rpm:/bin/bash
> 
> has shell. Why this users need shell?

rpm probably doesn't need a shell.

Note that the user news above doesn't have a shell listed.
That means that /bin/sh is the shell by default.  So you
have *two* users above who have shells, not one.

To have no shell, you'd want

        news:x:9:13:news:/etc/news:/nosuchprogram

or something similar.  Many folks use '/bin/false' for
example.


--
Brian Hatch                  "Everyone one meets
   Systems and                is a paradox nowadays.
   Security Engineer          It makes society so...
http://www.ifokr.org/bri/     obvious."

Every message PGP signed

Attachment: msg00497/pgp00000.pgp
Description: PGP signature

Reply via email to