Re: Disable a User's email account

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

 



I find it's nice to continue to receive email for someone, even while the account is disabled, to do this simply:

Lock Account
usermod -L $username

Unlock Account
usermod -U $username

man usemode for more info.

PS. this prevents all logins including ftp (it prefixes to password entry with !)

Albert.


edwardspl@xxxxxxxxxx wrote:
Les Mikesell wrote:
edwardspl@xxxxxxxxxx wrote:
Dear All,

The System is FC6...
So, how to disbale a User's mail service ?
eg : Sendmail + Dovecot ( pop3 /imap ).


One way is to use the aliases file to direct the mail elsewhere or to /dev/null. Another is to use the virtuser table to map the users you want to permit to real addresses with a catchall rejection.

Maybe it would be easier to describe exactly what you want these users to be able to do first and build an environment that provides nothing else instead of starting with a general-purpose login and trying to stop everything you don't want them to do.

Hello,

Is there a sample ( steps by steps ) for reference ?

Edward.

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux