rofl ok. so the su or sudo i similar to "run as" sort of thing.
I cant get windows out of my head, help!
Do i use this sudo command in any distro?
Printable View
rofl ok. so the su or sudo i similar to "run as" sort of thing.
I cant get windows out of my head, help!
Do i use this sudo command in any distro?
More or less correct.Quote:
Originally Posted by Cider
Every *nix has it or can have it installed.Quote:
Do i use this sudo command in any distro?
The difference between su and sudo is what password to type.
For su you need to enter root's password.
For sudo you need to enter your own password (and you have to be in the sudoers file).
Ok but in order to install it you said I will have to be in root so therefore I msut use the su command?
Both su and sudo will end up giving you root access. It depends on how the distro's setup which one of the two you can use. I'm not too familiar with Mandrake ;)Quote:
Originally Posted by Cider
Hey Cider,
The reason the RPM system is locked is most likely due to the fact you have a package manager running or you are running automatic updates--make sure you do not have the mcc (mandriva control center) open. (you usually can only have one rpm manager open at once)
Also, first go into the mcc, go to security and tell me what level security you are running. (as this can lock the RPM system at heightened levels) Actually, just make sure you are on the normal level for the moment.
Oh and rpm is not the only package type as their is also tar.gz or tar.bz, deb, bin, and more... gunzipped files (.gz) are usually source packages that require being compiled manually
Hey there
I am using this version as I have it on CD and dont really have a few hundregs megs BW to take up. Work internet is very unstable for downloading as well.
Ok so here is the story.
I renamed the app I want to install to PA. Its on my desktop right now.
So i tried these sudo and su commands.
Here is what I typed.
Command not foundCode:sudo - rpm -Uvh PA.rpm
I then try
Asks for a password, I put in the root password and it says incorrect. I then put in my user password and still incorrect.Code:su - rpm -Uvh PA.rpm
Suggestions.
EDIT
Now if I double click on the file on my desktop and try to install it that way it asks me for root password which I put in and throws an error
should have renamed it heh.Quote:
invalid rpm file name
Hmmm...
try in console:
kdesu mcc
then see if you can get to your package manager
also, did you set a root pass at install, or did you leave it blank?
Try adding the extension .rpm to PA (PA.rpm)--this shouldn't matter bc linux does not need the file extension in the name, just a suggestion
Sorry c:\saw, check my edit, you posted in the middle of it.
Yes I did set a root password.
Try renaming it with the rpm extension
Hmmm, it seems you forgot a very important password
It is difficult to recover--you need the root pass to change any password!
I would just reinstall on the VM and write down the root pass :p
edit:
actually logout or ctrl alt backspace
then go to your options in the login manager and drop to console login
type in console:
passwd
then type in what you want for root password
type:
startx
and try the rpm again