Re: [gentoo-user] odd sudo problem

2003-11-07 Thread Ric Messier
On 2003.11.07 15:08, Jacob Smullyan wrote:
Yes, I did do a real emerge sudo.  If I had installed it manually, I'd
be *really* surprised that it knew about /var/tmp/portage!
Didn't mean installed manually. You can effect the same as an emerge by 
doing a series of ebuild commands.

Ric

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] odd sudo problem

2003-11-07 Thread Jacob Smullyan
Yes, I did do a real emerge sudo.  If I had installed it manually, I'd
be *really* surprised that it knew about /var/tmp/portage!

I tried several emerges, and the same happened each time.  I don't
think it is an ebuild bug.  This leads me to believe that something
about the system is fundamentally borked, and I'm inclined to redo the
install.

js

On Thu, Nov 06, 2003 at 06:50:34PM -0500, Ric Messier wrote:
> On 2003.11.06 18:49, Collins Richey wrote:
> >
> >Looks like you haven't created the /etc/sudoers file.  Mine looks like
> >this:
> >
> 
> It actually looks like sudo believes its configuration files are in the 
> location where the package was built. I assume you did a real emerge 
> sudo?
> 
> Unfortunately, creating an /etc/sudoers file isn't going to help if 
> sudo is looking elsewhere for sudoers.
> 
> Ric
> 
> --
> [EMAIL PROTECTED] mailing list
> 


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] odd sudo problem

2003-11-06 Thread Ric Messier
On 2003.11.06 18:49, Collins Richey wrote:
Looks like you haven't created the /etc/sudoers file.  Mine looks like
this:
It actually looks like sudo believes its configuration files are in the 
location where the package was built. I assume you did a real emerge 
sudo?

Unfortunately, creating an /etc/sudoers file isn't going to help if 
sudo is looking elsewhere for sudoers.

Ric

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] odd sudo problem

2003-11-06 Thread Collins Richey
On Thu, 6 Nov 2003 18:31:59 -0500 Jacob Smullyan <[EMAIL PROTECTED]> wrote:

> I recently installed Gentoo on 4 servers.  On one of them, I get the
> following error when I run sudo:
> 
>   # sudo su -
>   sudo: can't stat /var/tmp/portage/sudo-1.6.7_p5/image//etc/sudoers: No
>   such file or directory
>   sendmail: Cannot open mail:25
> 
> The same error occurs when I try to run visudo.  Now, sendmail is one
> problem; I haven't configured postfix yet on the box.  But the rest is
> mystifying.  I've recompiled sudo several times, both with pam in my
> USE and without pam.  Still the same thing.  The sudo version is
> 1.6.7_p5.  Anyone come across this?
> 

Looks like you haven't created the /etc/sudoers file.  Mine looks like this:


# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# User privilege specification
rootALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
# %wheelALL=(ALL)   ALL

# Same thing without a password
 %wheel ALL=(ALL)   NOPASSWD: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now


Enjoy.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



[gentoo-user] odd sudo problem

2003-11-06 Thread Jacob Smullyan
I recently installed Gentoo on 4 servers.  On one of them, I get the
following error when I run sudo:

  # sudo su -
  sudo: can't stat /var/tmp/portage/sudo-1.6.7_p5/image//etc/sudoers: No
  such file or directory
  sendmail: Cannot open mail:25

The same error occurs when I try to run visudo.  Now, sendmail is one
problem; I haven't configured postfix yet on the box.  But the rest is
mystifying.  I've recompiled sudo several times, both with pam in my
USE and without pam.  Still the same thing.  The sudo version is
1.6.7_p5.  Anyone come across this?

Jacob Smullyan



pgp0.pgp
Description: PGP signature