[opensuse] Pmtools seems not to function
Looking into a bios update I wanted to have a look at my actual bios state. I gave the command dmidecode -s bios-version && dmidecode t11 on my Thinkpad. My system is opensuse 11.1 mainly KDE 4.3.1. Response was, command not found. Went into Google and found out that this function is called pmtools in openSUSE. In Yast found that I had this tool installed. pmtools in Konsole did give the same info: command not found. Uninstalled pmtools and installed it again without improvement. In the mean time I got my info from Puppy life which had no problems with dmidecode. I am just unhappy that I had to use some other Linux in order to find out details I should also have gotten with opensuse. Is something missing, did I make somewhere along the line a mistake? Somebody with an insight what has gone wrong? KDE 4.3.1? dmidecode, pmtools -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 15:10:24 Constant Brouerius van Nidek wrote:
Looking into a bios update I wanted to have a look at my actual bios state. I gave the command dmidecode -s bios-version && dmidecode t11 on my Thinkpad. My system is opensuse 11.1 mainly KDE 4.3.1. Response was, command not found. Went into Google and found out that this function is called pmtools in openSUSE. In Yast found that I had this tool installed. pmtools in Konsole did give the same info: command not found. Uninstalled pmtools and installed it again without improvement. In the mean time I got my info from Puppy life which had no problems with dmidecode. I am just unhappy that I had to use some other Linux in order to find out details I should also have gotten with opensuse. Is something missing, did I make somewhere along the line a mistake? Somebody with an insight what has gone wrong? KDE 4.3.1?
dmidecode, pmtools
You were logged as regular user or as root when trying this command ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 14:10:24 Constant Brouerius van Nidek wrote:
Looking into a bios update I wanted to have a look at my actual bios state. I gave the command dmidecode -s bios-version && dmidecode t11 on my Thinkpad. My system is opensuse 11.1 mainly KDE 4.3.1. Response was, command not found.
dmidecode is in the /usr/sbin directory, which is not normally in the path of a regular user. In addition, you need to be root to be allowed access to the things dmidecode requires to do its work Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 19:27:11 Anders Johansson wrote:
On Saturday 26 September 2009 14:10:24 Constant Brouerius van Nidek wrote:
Looking into a bios update I wanted to have a look at my actual bios state. I gave the command dmidecode -s bios-version && dmidecode t11 on my Thinkpad. My system is opensuse 11.1 mainly KDE 4.3.1. Response was, command not found.
dmidecode is in the /usr/sbin directory, which is not normally in the path of a regular user. In addition, you need to be root to be allowed access to the things dmidecode requires to do its work
Used it as root. Sorry I forgot to mention that. No reaction except: command not found :( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 15:20:33 Constant Brouerius van Nidek wrote:
On Saturday 26 September 2009 19:27:11 Anders Johansson wrote:
On Saturday 26 September 2009 14:10:24 Constant Brouerius van Nidek wrote:
Looking into a bios update I wanted to have a look at my actual bios state. I gave the command dmidecode -s bios-version && dmidecode t11 on my Thinkpad. My system is opensuse 11.1 mainly KDE 4.3.1. Response was, command not found.
dmidecode is in the /usr/sbin directory, which is not normally in the path of a regular user. In addition, you need to be root to be allowed access to the things dmidecode requires to do its work
Used it as root. Sorry I forgot to mention that. No reaction except: command not found :(
Then you don't have /usr/sbin in root's path for some reason. That is unusual. Try specifying it explicitly /usr/sbin/dmidecode -s bios-version Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 20:30:53 Anders Johansson wrote:
On Saturday 26 September 2009 15:20:33 Constant Brouerius van Nidek wrote:
On Saturday 26 September 2009 19:27:11 Anders Johansson wrote:
On Saturday 26 September 2009 14:10:24 Constant Brouerius van Nidek wrote:
Looking into a bios update I wanted to have a look at my actual bios state. I gave the command dmidecode -s bios-version && dmidecode t11 on my Thinkpad. My system is opensuse 11.1 mainly KDE 4.3.1. Response was, command not found.
dmidecode is in the /usr/sbin directory, which is not normally in the path of a regular user. In addition, you need to be root to be allowed access to the things dmidecode requires to do its work
Used it as root. Sorry I forgot to mention that. No reaction except: command not found :(
Then you don't have /usr/sbin in root's path for some reason. That is unusual. Try specifying it explicitly
/usr/sbin/dmidecode -s bios-version
Anders You are a genius. Never thought of such a kind of problem with my system. A week old nett install. How to repair this. My wisdom about path is from my DrDos time. Never had to extend a path in Linux. Man and Info pages do not seem to exist and Google is not of a direct use. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 15:20:33 Constant Brouerius van Nidek wrote:
Used it as root. Sorry I forgot to mention that. No reaction except: command not found :(
You probably tried to run it with sudo, this would give that error message. su -c "dmidecode -s bios-version" will work where sudo will not. If you want to use sudo like say a debian based distro might, you'll have to configure sudo, it's not configured to work like it does in debian based distros out of the box, since su will do the same job ;) http://en.opensuse.org/Administer_with_Sudo http://www.susegeek.com/security/how-to-configure-sudo-and-delegate-authorit... in-opensuse/ -- “Experience is the name everyone gives to their mistakes.” ☘ Oscar Wilde -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 22:56:16 Graham Anderson wrote:
On Saturday 26 September 2009 15:20:33 Constant Brouerius van Nidek wrote:
Used it as root. Sorry I forgot to mention that. No reaction except: command not found :(
You probably tried to run it with sudo, this would give that error message.
su -c "dmidecode -s bios-version" will work where sudo will not.
If you want to use sudo like say a debian based distro might, you'll have to configure sudo, it's not configured to work like it does in debian based distros out of the box, since su will do the same job ;)
http://en.opensuse.org/Administer_with_Sudo http://www.susegeek.com/security/how-to-configure-sudo-and-delegate-authori ty- in-opensuse/
Seldom use sudo but yes, this time I used it because I wanted to do some more in the Konsole as regular user. But su -c etc does also not work. With $su, password and then # the command it works. Strange. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 26 September 2009 19:13:53 Constant Brouerius van Nidek wrote:
Seldom use sudo but yes, this time I used it because I wanted to do some more in the Konsole as regular user. But su -c etc does also not work. With $su, password and then # the command it works. Strange.
No, it's not strange. This is the way Linux restricts access to some commands. You can also configure sudo in order to execute commands accessed otherwise only by root. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
Bogdan Cristea
-
Constant Brouerius van Nidek
-
Graham Anderson