Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
04-17-2006, 03:11 PM
|
#1
|
Member
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Rep:
|
how to upgrade to admin a/c
Am running fc4 and i would like to know how i can upgrade my user a/c to an admin a/c as with my a/c i can't install coppermine. i get
you dont have permission to access /cpg/144/install.php.
Any help will be appreciated.
|
|
|
04-17-2006, 03:16 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you don't change your account, you just log in as root in the first place, or become root with the su command.
|
|
|
04-18-2006, 04:37 AM
|
#3
|
Member
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Original Poster
Rep:
|
thank you i have never logged in as root i always use the su command but since in need to run the script in my browser that is why i asked as the browser need to run in an admin login, to log in as root do i use the username: root i know it's kind of stupid to ask but i have never known how i can log in as root.
|
|
|
04-18-2006, 04:41 AM
|
#4
|
LQ Newbie
Registered: Apr 2006
Location: Finland
Distribution: Tukaani / Slackware
Posts: 16
Rep:
|
You can add your default user to sudo list.
man sudo for more info
|
|
|
04-18-2006, 06:31 PM
|
#5
|
Member
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Original Poster
Rep:
|
thanks but even root cant install since it runs from browser i still got the same error message, so i think my nobody settings need editing as that is what apache uses to browse. am watching another thread where i put up the user: nobody issue to see if i will get any help thanks though
|
|
|
04-19-2006, 02:12 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
what runs for a browser?? there's no way you should be able to install stuff via a web browser... that's where rootkits and other exploits come from. instead save the file, become root, and then install.
|
|
|
04-19-2006, 08:19 AM
|
#7
|
Member
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Original Poster
Rep:
|
am trying to install coppermine photo gallery and they say on directions of how to install is that you place install directory in your web directory and you run the installer from your browser with the path "httP://your.domain/coppermine/install.php" where coppermine is whatever name you rename the folder containing install files.
here is a link to the documentation provided for installing since i may be phrasing my question wrongly: http://coppermine-gallery.net/demo/c...tm#permissions
but the error mesage i get no matter my login is: "you dont have permision to access /cpg144/install.php on this server" i have tried puting the whole folder on chmod 777 just to see if it will work but nothing works the same error message keeps coming back.
Last edited by samnjugu; 04-19-2006 at 08:29 AM.
|
|
|
04-19-2006, 09:24 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
that sounds like your apache server is not configured correctly...
|
|
|
04-20-2006, 08:51 AM
|
#9
|
Member
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Original Poster
Rep:
|
i finnaly solved it and thanks acid for your heads up, my problem was the chcon command since that is what apache uses to know what to open or not suffice it to say even by setting the appropriate chmod command without setting the required chcon apache wont run scripts.
|
|
|
04-20-2006, 09:34 AM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
chcon? ACK!! SELinux strikes again!!
|
|
|
All times are GMT -5. The time now is 07:31 AM.
|
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
|
|