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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-22-2005, 12:38 AM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20
Rep:
|
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
|
|
|
02-22-2005, 12:40 AM
|
#2
|
LQ Newbie
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20
Original Poster
Rep:
|
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
|
|
|
02-22-2005, 01:01 AM
|
#3
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
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 ??
|
|
|
02-22-2005, 08:42 AM
|
#4
|
LQ Newbie
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
02-22-2005, 08:48 AM
|
#5
|
LQ Newbie
Registered: Jan 2004
Location: Charlotte, NC
Distribution: Fedora Core 2
Posts: 20
Original Poster
Rep:
|
[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
|
|
|
02-23-2005, 12:58 AM
|
#6
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
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 01:00 AM.
|
|
|
All times are GMT -5. The time now is 12:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|