LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2005, 11:38 PM   #1
Mad Mardigan
LQ Newbie
 
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20

Rep: Reputation: 0
Question 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
 
Old 02-21-2005, 11:40 PM   #2
Mad Mardigan
LQ Newbie
 
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 02-22-2005, 12:01 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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 Do you get errors, can't you find it or ??
 
Old 02-22-2005, 07:42 AM   #4
Mad Mardigan
LQ Newbie
 
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
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 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.
 
Old 02-22-2005, 07:48 AM   #5
Mad Mardigan
LQ Newbie
 
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
[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
 
Old 02-22-2005, 11:58 PM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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

Last edited by Wim Sturkenboom; 02-23-2005 at 12:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my first C++ program, errors while compiling lu543285 Programming 11 09-26-2004 03:42 AM
2 diff errors on my Crack5 program Israfel2000 Linux - Software 0 05-30-2004 01:02 PM
how to solve parse errors in C program?? divya Linux - Software 4 04-01-2004 11:19 AM
Compile program errors RH9 sallas Linux - Newbie 0 01-30-2004 08:38 PM
cryptic errors compiling simplest C program code_noc Slackware 4 10-06-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration