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

Re: [ot] how to create a user that can't log in?

also sprach Nathan E Norman <nnorman@micromuse.com> [2002.01.20.2105 +0100]:
> What I'm wondering is if PAM or some other mechanism can be used to
> prevent a user from logging in via a network connection.  It looks
> like people here don't know; that's fine, I'll continue researching.

i don't know why the sudo method doesn't please use, but whatever...


  project hard maxlogins 0

and then uncomment pam_limits.so in /etc/pam.d/{login,ssh}, and make
sure it's commented in /etc/pam.d/su.

there are many other ways to do it.

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
today's an excellent day
for putting slinkies on an escalator.

Attachment: pgprC87AeMix5.pgp
Description: PGP signature

Reply to: