From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 00:33:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 090D837B401 for ; Tue, 22 Jul 2003 00:33:12 -0700 (PDT) Received: from bsd.ee (bsd.ee [194.126.101.115]) by mx1.FreeBSD.org (Postfix) with SMTP id BB91543FAF for ; Tue, 22 Jul 2003 00:33:10 -0700 (PDT) (envelope-from nezdali@bsd.ee) Received: (qmail 813 invoked by uid 1007); 22 Jul 2003 07:37:52 -0000 Date: Tue, 22 Jul 2003 10:37:52 +0300 From: DvG To: freebsd-current@freebsd.org Message-ID: <20030722073752.GA793@daemon.bsd.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.25i Subject: 'su' problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 07:33:12 -0000 Hi, Im having problem using ’su’: pam_unix: pam_sm_authenticate: UNIX authentication refused in any other account except root. Where could be the problem ? Thank you in advance . Here is what i use in pam /etc/pam.d>$cat su # # $FreeBSD: src/etc/pam.d/su,v 1.15 2003/06/14 12:35:05 des Exp $ # # PAM configuration for the "su" service # # auth #auth sufficient pam_rootok.so no_warn #auth sufficient pam_self.so no_warn #auth requisite pam_group.so no_warn group=wheel root_only fail_safe auth required pam_unix.so try_first_pass auth include system # account account include system # session session include system --------------------------------------------------------------------------------------------------- /etc/pam.d>$cat login # # $FreeBSD: src/etc/pam.d/login,v 1.16 2003/06/14 12:35:05 des Exp $ # # PAM configuration for the "login" service # # auth #auth sufficient pam_skey.so auth requisite pam_cleartext_pass_ok.so #auth sufficient pam_kerberosIV.so try_first_pass auth required pam_unix.so try_first_pass # account account required pam_unix.so # session session required pam_permit.so # password password required pam_permit.so