From owner-freebsd-questions@FreeBSD.ORG Thu Dec 23 12:38:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 900641065672 for ; Thu, 23 Dec 2010 12:38:07 +0000 (UTC) (envelope-from techprosup@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5A75C8FC0C for ; Thu, 23 Dec 2010 12:38:07 +0000 (UTC) Received: by iyb26 with SMTP id 26so5160066iyb.13 for ; Thu, 23 Dec 2010 04:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0m15Svprie4rPzEUoQx2z9Qg5vkyzRhCsUH1WUylkeo=; b=kD2H9aSVHl1WeV+F3fGFLueuLf2dRaYInucCW+SBSaxX1FRTCkyf+gLkRrFu/4I+nc SaZLrjEMjM21vePx3gMX10kekg66m9S/IJHtIfAOrjxiT4WgIQHQgpC9ERw/gpUivVLj Ps+83VLl9pO3AEHDYAhpejbHNtbfMr6xID980= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IGu4AL0/Q0jLxO0qjD0+SdwaTAcg5wc+l6mT99iiSHpQ0ENFfBWo6ayPILBXQLYyIb gJdkshyk3eFIddXxDiI35fLYbD3wn8NziSTgYn0PAVV33Ad6gnTHtVKBOP7+KaySZ/UA 8g8UhCMozJ9N49+zWzV/u7iKsQpMgjlcuayl4= MIME-Version: 1.0 Received: by 10.231.34.65 with SMTP id k1mr8120096ibd.9.1293105991743; Thu, 23 Dec 2010 04:06:31 -0800 (PST) Received: by 10.231.173.208 with HTTP; Thu, 23 Dec 2010 04:06:31 -0800 (PST) Date: Thu, 23 Dec 2010 10:06:31 -0200 Message-ID: From: itpr0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Completely remove user from system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2010 12:38:07 -0000 Hi list, We are using postfix with system user authentication, I have to completely remove an user for the system so he couldn't auth to send e-mails. Some coworkers told to just remove the lines from /etc/passwd and /etc/master.passwd... I did that but the user still can authenticate. using "pw user show XXX" returns that still have a register from the user XXX but trying the "pw user del XXX" it says there is no such user.. I tried rmuser and here is the return: # rmuser XXX Matching password entry: XXX:*:20887:1014::0:0:XXXXX XXXXX:/home/XXX:/nonexistent Is this the entry you wish to remove? y Remove user's home directory (/home/XXXX)? y Removing user (XXX): home passwdpw: user 'XXX' does not exist: No such file or directory There is any other thing that I can do to completely remove this user? It's urgent 'cos it's sending a lot of spam mails :( and our server administrator is on vacation :/ Thank you.