Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180486

Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?]

From Ric Moore <wayward4now@gmail.com>
Newsgroups linux.debian.user
Subject Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?]
Date 2017-04-26 16:30 +0200
Message-ID <tAw77-3rU-5@gated-at.bofh.it> (permalink)
References (4 earlier) <tA8xP-5bb-23@gated-at.bofh.it> <tAu5j-2ac-7@gated-at.bofh.it> <tAuoF-2hj-11@gated-at.bofh.it> <tAvNM-3kF-13@gated-at.bofh.it> <tAvXr-3oc-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/26/2017 10:17 AM, Greg Wooledge wrote:
> On Wed, Apr 26, 2017 at 10:07:01AM -0400, Ric Moore wrote:
>> "ifconfig" has to be run as root.
>> ric@iam:~$ sudo ifconfig
>> [sudo] password for ric:
>> enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>
> This is not correct, if you are just using it to view an interface rather
> than to change the interface.
>
> ifconfig lives in the /sbin directory, which is not in the default PATH
> that user accounts get when they login.  It *is* in the PATH that you
> get when you run su, or sudo.  That's why it works when you slap sudo
> in front of it.
>
> You could also simply run /sbin/ifconfig directly.  Or, you could change
> your PATH variable to include the /sbin directory.  Either of these will
> let you run ifconfig without root privileges.

And that makes me incorrect how?? For a new user, who doesn't want to 
dink with $PATH, su or sudo will run ifconfig. It doesn't run, out of 
the box, as USER, which was the OP's original issue. Ric
.


-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-23 12:30 +0200
  Re: Measuring aggregate internet useage? Dan Purgert <dan@djph.net> - 2017-04-24 11:40 +0200
    Re: Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-24 13:00 +0200
      Re: Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-24 13:20 +0200
      Re: Measuring aggregate internet useage? rhkramer@gmail.com - 2017-04-24 13:20 +0200
      Re: Measuring aggregate internet useage? Ben Caradoc-Davies <ben@transient.nz> - 2017-04-24 23:20 +0200
        Re: Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-25 15:20 +0200
          BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Richard Owlett <rowlett@cloud85.net> - 2017-04-26 14:20 +0200
            Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Darac Marjal <mailinglist@darac.org.uk> - 2017-04-26 14:30 +0200
              Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-26 14:40 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Darac Marjal <mailinglist@darac.org.uk> - 2017-04-26 15:00 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] <tomas@tuxteam.de> - 2017-04-26 15:40 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Richard Owlett <rowlett@cloud85.net> - 2017-04-26 16:40 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-04-26 17:10 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Jörg-Volker Peetz <jvpeetz@web.de> - 2017-04-26 17:40 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Lisi Reisz <lisi.reisz@gmail.com> - 2017-04-26 17:10 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Richard Owlett <rowlett@cloud85.net> - 2017-04-26 22:30 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] <tomas@tuxteam.de> - 2017-04-27 08:50 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Fungi4All <fungilife@protonmail.com> - 2017-04-27 20:30 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 21:00 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 20:40 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 20:20 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-01 20:50 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 21:40 +0200
            Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Brian <ad44@cityscape.co.uk> - 2017-04-26 14:40 +0200
              Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Ric Moore <wayward4now@gmail.com> - 2017-04-26 16:10 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-26 16:20 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Ric Moore <wayward4now@gmail.com> - 2017-04-26 16:30 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-26 16:40 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Curt <curty@free.fr> - 2017-04-26 18:00 +0200
                Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] <tomas@tuxteam.de> - 2017-04-26 16:40 +0200
            Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet  useage?] Jochen Spieker <ml@well-adjusted.de> - 2017-04-26 14:40 +0200

csiph-web