[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipmi-console doesn't need root and should be in /usr/bin
From: |
Al Chu |
Subject: |
Re: ipmi-console doesn't need root and should be in /usr/bin |
Date: |
Sat, 06 Feb 2021 09:56:36 -0800 |
Hi Fabio,
Actually thinking about this more, could this argument be made for all
FreeIPMI tools that do out of band communication? On my local redhat
system, I notice they put ipmitool in /usr/bin.
Just wanting to know your opinion on this.
Al
On Sat, 2021-02-06 at 09:50 -0800, Al Chu wrote:
> Hi Fabio,
>
> I think that's a good point. And the same argument can maybe be made
> for `ipmipower` since it has no "in-band" component. Both are in
> /usr/sbin mostly b/c everything else there is.
>
> My one concern is that it's been in /usr/sbin for so long, I'm not
> sure
> how many people may have hard coded "/usr/sbin/" into scripts. This
> is
> far likely with "ipmipower", but perhaps with "ipmiconsole" too.
>
> Perhaps a backwards compatibility symlink would be needed?
>
> What would you imagine debian doing in this case?
>
> Al
>
> On Sat, 2021-02-06 at 18:03 +0100, Fabio Fantoni wrote:
> > Hi, as reported in debian:
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977949
> > > The ipmi-console command can be executed by any normal user and
> > > doesn't
> > > require "system administrator" (aka "root") permission., IMHO, it
> > > should
> > > hence be installed to /usr/bin, and not to /usr/sbin., The fact
> > > that you
> > > are accessing an IPMO SoL console of another machine, (of which
> > > you
> > > may
> > > be the system administrator) doesn't mean you have to be the
> > > system
> > > administrator of the client running ipmi-console.
> >
> > is there a reason why it should be kept in sbin instead bin?
> > thanks for any reply and sorry for my bad english
> >
>
>