Hello everyone! The problem I am having is something I did not have on a debian based Distro so this might be a easy fix that i just cant see :P. Anyways I have finished Installing the program but it requires some things to be enabled before I can actually go ahead and overclock with it.
Here is my problem I cant seem to get these commands to work on Opensuse.
sudo modprobe cpuid
sudo modprobe msr
If anyone could help me that would be great! Thanks in advance!
How, exactly, do they not work? Throw an error? Crash the box?
Nothing at all?
I presume ‘sudo’ works, and ‘modprobe’ is a standard package too so
worst case you may just want to specify its absolute path
(/sbin/modprobe) instead of just the executable name. After that, do
you have the ‘cpuid’ or ‘msr’ modules installed?
Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
sudo: modprobe: command not foundjerry@linux-jtjz:~> sudo modprobe cpuid
sudo: modprobe: command not found
jerry@linux-jtjz:~> sudo modprobe msr
sudo: modprobe: command not found
> Oh wait you are something else with that /sbin/modprobe that
> actually did it thank you for the help!
Yes, and it may be useful if you understand why. ‘modprobe’ is in /sbin
which is usually for things (these days) that are usable as ‘root’,
which of course is why you are calling ‘sudo’ before it (well done).
‘sudo’ does not change the user’s PATH, though, so even though ‘root’
can access modprobe without specifying the absolute path sudo is running
with your non-root environment. Putting in the full path helps with that.
On a personal note, anytime I use ‘sudo’ I put in the full path just in
case somebody is tricky/malicious and gives my user a different version
of the command with the intention of causing me harm. For example, if I
convinced you to drop a script in /home/jseymour/bin and make it
executable, and if that script had ‘rm -rf /’ in it, your attempt to add
modules to the kernel would end up wiping your computer. Specifying
absolute paths when making calls out as root like that makes me feel
warmer and fuzzier, and prevents my own stupidity as well.
Thank-you for posting back your results.
Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
On 12/03/2012 07:06 PM, JSeymour421 wrote:
> debian based Distro-
> sudo modprobe cpuid
forget sudo for now…that is what Ubuntu and their spins uses to keep
its users from actually becoming root… (as far as i know there is no
such effort in actual Debian.)
so, try this combo
su -
modprobe cpuid
in which “su -” (do not forget the dash) lets you become root, the real
and only root…where you will then see that root can find the
executable modprobe, which sudo cannot.
On 12/03/2012 11:06 PM, Knurpht wrote:
>
> Once again on my pelgrimage against being root: Don’t use “su” or “su
> -”, use
>
> Code:
> --------------------
> su -c ’ -command ’ -
> --------------------
perhaps you should write a how-to, as did Carl
<http://tinyurl.com/ydbwssh> with your opinion on the ‘best’ way to
exercise administrator/superuser powers…
if you do, i will link to it (as i did both Carl’s and the SDB in my #6)…that way you won’t have to follow me around and offer your
differing opinion.
in fact, maybe you want to comment in Carl’s thread since