From: Atishay Kumar <atishay.kumar@gmail.com>
To: Niklas Bolander <niklas.bolander@telia.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: problems with command su
Date: Wed, 8 Dec 2004 21:48:05 +0530 [thread overview]
Message-ID: <430c159a0412080818255974fc@mail.gmail.com> (raw)
In-Reply-To: <41B64BB4.3090308@telia.com>
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=(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
<niklas.bolander@telia.com> wrote:
> Odd, would you mind posting your pam configuration for su?
> Should be "/etc/pam.d/su".
>
> MSc.Vladimir E.Rodríguez wrote:
>
> >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
>
>
> >Niklas Bolander said:
> >
> >
> >>Some systems requirers a user to be a member of the "wheel" group to 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
>
--
:)
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
next prev parent reply other threads:[~2004-12-08 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 16:01 problems with command su Vladimir E. Rodriguez
2004-12-07 18:16 ` kaushal
2004-12-07 21:31 ` Vladimir E. Rodriguez
2004-12-07 22:46 ` Andreas Unterkircher
2004-12-07 23:17 ` Niklas Bolander
[not found] ` <1731.192.168.1.12.1102462096.squirrel@192.168.1.12>
2004-12-08 0:32 ` Niklas Bolander
2004-12-08 16:18 ` Atishay Kumar [this message]
2004-12-08 9:08 ` Andrew Kelly
-- strict thread matches above, loose matches on Subject: below --
2004-12-07 16:01 Vladimir E. Rodriguez
2004-12-07 18:21 ` joy merwin monteiro
2004-12-07 21:27 ` Vladimir E. Rodriguez
2004-12-07 22:08 ` Jim Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430c159a0412080818255974fc@mail.gmail.com \
--to=atishay.kumar@gmail.com \
--cc=linux-admin@vger.kernel.org \
--cc=niklas.bolander@telia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.