Fred K Ollinger on Wed, 20 Mar 2002 15:07:32 -0500


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

Re: [PLUG] Apache user dirs?


> At 02:20 PM 3/20/2002 -0500, Fred K Ollinger wrote:
> > >          But I just discovered that just creating those directories does
> > > NOT make the system see it as a "user directory".  So I did an adduser to
> > > make it a "real user" and it's working GREAT!
> >
> >I would lock the account if you don't intend on using it. I usually make
> >the login shell /dev/null instead of bash. :)
>
>          Sounds like a good idea.  How does one do that?

Reposting to the list.

Edit /etc/passwd and change

this line

fool:x:7:7:lp:/home/fool:/bin/bash

to

fool:x:7:7:lp:/home/fool:/dev/null



Fred


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug