LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing program errors (https://www.linuxquestions.org/questions/linux-newbie-8/installing-program-errors-293255/)

Mad Mardigan 02-21-2005 11:38 PM

installing program errors
 
I have dled a few .tar installs, well, when I log in as root in the terminal, it tells me i am not allowed to basically, then when I log out as the user, and log directly in as root, I am able to install with no problem, now that im back as the user, how do i run the programs on here? I changed over to mozilla and updated flash on it. THanks again :newbie:

Mad Mardigan 02-21-2005 11:40 PM

Oh, how do I change the sudoers info also? I have much much more to do. I have no prob trying out new things, Im using Fedora Core 2

Wim Sturkenboom 02-22-2005 12:01 AM

Re: installing program errors
 
Quote:

Originally posted by Mad Mardigan
I have dled a few .tar installs, well, when I log in as root in the terminal, it tells me i am not allowed to basically, then when I log out as the user, and log directly in as root, I am able to install with no problem
How do you login as root from user? Simple su or su - root? If you use the first one, you might want to try the second one. Might save you from a logout first.
Quote:

Originally posted by Mad Mardigan
now that im back as the user, how do i run the programs on here? I changed over to mozilla and updated flash on it.
Just start it :confused: Do you get errors, can't you find it or ??

Mad Mardigan 02-22-2005 07:42 AM

Re: Re: installing program errors
 
Quote:

Originally posted by Wim Sturkenboom
How do you login as root from user? Simple su or su - root? If you use the first one, you might want to try the second one. Might save you from a logout first. Just start it :confused: Do you get errors, can't you find it or ??

I loggin thru su, never tried the su - root, well i didnt get errors when i logged in as root directly, when I tried to install from the terminal and logged in from su, it said I didnt have permissions. now I cant find it and the user. Argh, the frustration.

Mad Mardigan 02-22-2005 07:48 AM

[will@localhost will]$ su
Password:
[root@localhost will]# cd /home/will/dlprograms
[root@localhost dlprograms]# sh check.sh
=====================================================================
ATI Technologies
=====================================================================
Your possibly not running this script from the console
or maybe you simply dont have the console ownership.
Unable to determine XFree86 Version. Stopping now.

[root@localhost dlprograms]#


this is another example of an error I get when I try to log as root and run a program

Wim Sturkenboom 02-22-2005 11:58 PM

Re: Re: Re: installing program errors
 
The dash in su - root makes the new shell a login shell.

Quote:

Originally posted by Mad Mardigan
now I cant find it and the user
What do you mean by this?


You don't have to find your new executable; type the name and it should work. Or don't you know the name of the program?
You can always look for files with a certain date using
Code:

cd /
ls -l |grep 2005-02-23

That way you might be able to find the files that were created during your installation. Redirect the output to a file or pipe it through less if there is too much info.
Use ls -al if you want to find hidden files as well
Obviously change the date to the one that you want to check.

For sudoers:
man sudoers


All times are GMT -5. The time now is 11:06 AM.