Hi

On Fri, Aug 02, 2002 at 05:37:55PM +0530, Linux Rockz wrote:
> 
> In a few days I may have to disable a few mail users' accounts. I do not
> want them to lose any mail, so I plan to leave their accounts functional to
> that extent. I want to leave all other domains and users active, so I do not
> wish to disable the POP3 and IMAP protocols.
> Does anyone have any idea how I can disable POP/IMAP logon to their accounts
> by these people?

  # usermod -L <username>

This would lock the user's password my putting a ! in front of the user's
password entry in /etc/shadow.

Use

  # usermod -U <username>

to unlock the password.

There might be other ways to do this though...

-- 
------------------------------,_,------------------------------------
        Vipul Mathur         (O,O)    mail at vipulmathur dot org
   http://vipulmathur.org/   (   )   vipul at linux-delhi dot org
------------------------------"-"------------------------------------
"There is a difference between knowing the path and walking the path."
                   -- Morpheus, "The Matrix"


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to