LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-17-2006, 02:11 PM   #1
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Rep: Reputation: 16
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.
 
Old 04-17-2006, 02:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't change your account, you just log in as root in the first place, or become root with the su command.
 
Old 04-18-2006, 03:37 AM   #3
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Original Poster
Rep: Reputation: 16
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.
 
Old 04-18-2006, 03:41 AM   #4
pslave
LQ Newbie
 
Registered: Apr 2006
Location: Finland
Distribution: Tukaani / Slackware
Posts: 16

Rep: Reputation: 0
You can add your default user to sudo list.

man sudo for more info
 
Old 04-18-2006, 05:31 PM   #5
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Original Poster
Rep: Reputation: 16
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
 
Old 04-19-2006, 01:12 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 04-19-2006, 07:19 AM   #7
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Original Poster
Rep: Reputation: 16
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 07:29 AM.
 
Old 04-19-2006, 08:24 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
that sounds like your apache server is not configured correctly...
 
Old 04-20-2006, 07:51 AM   #9
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Original Poster
Rep: Reputation: 16
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.
 
Old 04-20-2006, 08:34 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
chcon? ACK!! SELinux strikes again!!
 
  


Reply

Tags
script



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
2K admin now RHEL4 admin (I have some questions) wilsryan Red Hat 5 01-30-2006 12:18 PM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
Admin algea Fedora 2 10-12-2004 03:29 PM
admin Nick5449 Linux - Newbie 7 06-29-2003 10:38 AM
Admin Help agoodeill Linux - Networking 2 11-19-2002 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:40 AM.

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
Open Source Consulting | Domain Registration