From mboxrd@z Thu Jan 1 00:00:00 1970 From: Atishay Kumar Subject: Re: problems with command su Date: Wed, 8 Dec 2004 21:48:05 +0530 Message-ID: <430c159a0412080818255974fc@mail.gmail.com> References: <200412071101.55391.vrodriguez@municipiodeloja.gov.ec> <41B63A07.9050000@telia.com> <1731.192.168.1.12.1102462096.squirrel@192.168.1.12> <41B64BB4.3090308@telia.com> Reply-To: Atishay Kumar Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <41B64BB4.3090308@telia.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="iso-8859-1" To: Niklas Bolander Cc: linux-admin@vger.kernel.org hi, try sudo command. only users listed in /etc/sudoers are allowed to run sudo command. and u can also specify whether to ask for root password or not. put the following line /etc/sudoers username ALL=3D(ALL) NOPASSWD: ALL username above will be able to issue all commands like root and without asking password. see /etc/sudoers for more. after making entry for username try "sudo su" command. it should work if entry was for NOPASSWD atishay On Wed, 08 Dec 2004 01:32:52 +0100, Niklas Bolander wrote: > Odd, would you mind posting your pam configuration for su? > Should be "/etc/pam.d/su". >=20 > MSc.Vladimir E.Rodr=EDguez wrote: >=20 > >Yes, I checked it, but it's not working. > >I run passwd for root, and changed the password nothing more, after = that > >the su doesn't work. > > > >Thanks > > > >Vladimir >=20 >=20 > >Niklas Bolander said: > > > > > >>Some systems requirers a user to be a member of the "wheel" group t= o be > >>allowed to su. > >>Shouldn't be relevant since you could use it before but it might be > >>worth checking out. > >> > - > To unsubscribe from this list: send the line "unsubscribe linux-admin= " in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >=20 --=20 :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 /**********************************************************************= ****** * Learn the rules as you would need them to break them properly * **********************************************************************= ******/ - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html