Comments (9)
No, this does not require root. Can you send me an example where it matters? Run
hwinfo --gfxcard --log=foo.log
. Both as root and as normal user. I'd like to have a look at these logs.
from hwinfo.
I can confirm that I have to run hwinfo with sudo on a recent installation of Leap 15.
ll /usr/sbin/ | grep hwinfo
-rwxr-xr-x 1 root root 38K 22. Apr 21:38 hwinfo
from hwinfo.
I'm using Leap 15.0 myself and it works as expected. Please provide the logs as described above,
from hwinfo.
Without sudo (no log file generated):
hwinfo --gfxcard --log=foo.txt
Das Programm 'hwinfo' ist verfügbar im Paket 'hwinfo', das auf ihrem System installiert ist.
Der absolute Pfad für 'hwinfo' ist '/usr/sbin/hwinfo', daher kann das Programm möglicherweise nur von Benutzern mit Superuser-Rechten gestartet werden (z. B. root).
With sudo:
foo.txt
Any more I could provide?
from hwinfo.
Without sudo (no log file generated)
That's impossible. It must contain something. Is the directory writable?
Das Programm 'hwinfo' ist verfügbar im Paket 'hwinfo', ...
Where does this come from?
from hwinfo.
Here is what I am doing (/bin/bash this time):
On a sidenote: This is not the first time I encountered the message telling my about absolute path and permissions of an executable. So I guess it's not specific to hwinfo.
from hwinfo.
My suspicion is that there is some tool spinning out those weird 'helpful' messages but in effect
not executing hwinfo at all.
Could you try running it with full path, like /usr/sbin/hwinfo --gfxcard
?
from hwinfo.
It's this command-not-found
thing. If you find it as unhelpful as I, do:
sudo zypper rm command-not-found
sudo zypper al command-not-found
Or add /usr/sbin
to your PATH environment variable.
from hwinfo.
Yes, seems like /usr/sbin is not in $PATH by default and zypper tries to help. Thank you!
from hwinfo.
Related Issues (20)
- Add loongarch architecture support HOT 5
- No rule to make target '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/libhd.a'
- Some questions about cross compiling hwinfo HOT 2
- hd.c:2697:3: error: 'for' loop initial declarations are only allowed in C99 mode HOT 4
- Can we optimize the compilation time of hwinfo? HOT 3
- error: hwinfo: signature from "Alexander F. Rødseth <[email protected]>" is marginal trust HOT 1
- Hang on hd_list, hw_disk
- Does this tool behave different if used with root
- Serial ID for drives attached by USB adapter HOT 1
- Request to provide serial number for any subcategory requested.
- Doesn't show the second port
- Cannot built on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop.
- wrong git repo in hwinfo(8)
- hwinfo takes loooong to execute if a serial device is present
- incorrect specifier in format string
- Thank you!
- Hwinfo against Amlogic Meson G12B (S922X) returning inconsistent data
- Cross compilation to aarch64
- Will Hwinfo support the readout of 30 series memory junction temp?
- Hwinfo 21.7 issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwinfo.