On Mon, 15 Jul 2002, Jay Daniels wrote: > On Mon, Jul 15, 2002 at 04:22:45PM -0400, R P Herrold wrote:
> > > > > Can u any body teach me how to disable a useraccount > > > > > in redhat linux6.1 . I used the 'userconf' command > > > > > to disable(uncheck the check box of the account is > > > > > enabled). But it is changing only the password of > > > > > that user. but he receives mails. I want to > > > > > restrict the mails for that user. how to do ? > > and then disable ssh key based login as well: > > > > [ -e ~userid/.ssh ] && mv ~userid/.ssh ~userid/_.ssh > Well, you clipped my response. So, what has ssh login got to do with > him being able to receive mail? I thought he meant the user was still > able to access his email account via pop3, imap etc? I clip heavily as a matter of course -- If you feel I quoted out of context, I apologize. Absent special arangements (magic bounce code in the virtuser or aliases tables), until the userid is affirmatively removed -- userdel comes to mind, -- the mailserver will accept inbound pieces toward [EMAIL PROTECTED] ... The poster asked to disable, not remove an account. This is pretty common in an ISP environment, where a customer's payment is late or dishonored, and yet there is hope that the account will be brought current -- simply disabling it allows restoration of service. With a locked password, most avenues of retrieving email off the host (pop, imap, ftp) stop working. The 'backdoor' of ssh/scp through a keyed access approach remains. Thus the key dis-abling process step. Ditto my remarks on cron and at -- they are back door ways that email may be 'retrieved'. I suppose one might need consider an NFS exported mailspool -- I know we use them with qpopper at one ISP I work with -- and so it might also be needful to address that as well. -- Russ Herrold -- end ================================== .-- -... ---.. ... -.- -.-- Copyright (C) 2002 R P Herrold [EMAIL PROTECTED] NIC: RPH5 (US) My words are not deathless prose, but they are mine. Owl River Company "The World is Open to Linux (tm)" ... Open Source LINUX solutions ... [EMAIL PROTECTED] Columbus, OH _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list