LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-19-2009, 01:38 PM   #1
JuliusV
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
user rights and opt


Hi there,

I am a real Linux Newbie, since an hour my home is totally MICROSOFT-FREE!!! Well anyhow, I'm still sure I made the right choice, but now I have also discovered that it is going to take some time for me to get used to this new OS.

Anyhow, my question: I am trying to install XAMPP for Linux (LAMPP). I have downloaded it and now I try to un-tar it with the archive-manager. As is said on the XAMPP site I am now trying to un-rar the file into the opt-folder. This folder is right on the hard-disk. Now the error comes: I apparently do not have the rights to this folder. If I look into the properties for the rights I can't change anything an on the bottom it says: 'You are not the owner so you can't change these properties'

Why does it think I am not the owner and how do I change the rights, so that I will be able to install LAMPP in my opt-folder?

Cheers,

JuliusV


ps. Another newbie mistake: I forgot to say that I am using the Linux Mint 6 OS
 
Old 01-19-2009, 03:16 PM   #2
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
You have to become the root user to install this.It tells you in the install instructions on the website that you have to do this.So instead of trying to extract the file as a normal user (your account),you have to open a terminal,type su and then enter.Then enter the root password (you will have given one during the install of your OS).The cursor prompt should now have changed from a $ to a #.If it has,you are now root user and can follow the install instruction as given on the website.
 
Old 01-19-2009, 03:21 PM   #3
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
or alternatively in nautilus you can right click on the folder and select open as root, it will prompt for your password, then you should be seeing a nautilus window with red background (it's red to remind you to be careful).
 
Old 01-20-2009, 12:36 AM   #4
JuliusV
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Edit:

When I go to the terminal I type the following command:

su

This works, it than asks for my password, so I give it. Unfortunately, however, now it gives an error:

Verificationerror


So I now tried it the second way, I went to the folder opt and opened it as root. I had to type my password and I got in the folder with the red background. So now I go back to the tar-file and say it needs to unpack in the opt folder. Apparently this is still impossible, so I unpack it in a different folder and than I copy the unpacked folder to the opt-folder. This seems to work, I can see the LAMPP folder now in the opt folder. However, wen I refresh, the folder has again disapeared.

So two questions:

Why does root-verrification in the terminal fail (although I am using the correct password)?(Edit: This question is now answered, apparently the command was sudo su).
Why does the folder disappear from the opt folder?

Cheers,

JuliusV

Last edited by JuliusV; 01-20-2009 at 12:56 AM. Reason: another problem
 
Old 01-21-2009, 11:50 AM   #5
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
Quote:
Why does the folder disappear from the opt folder?
I think that depends on how the permissions on opt folder were set, go to the parent of opt folder (I guess it's "/") with red nautilus and check the permissions tab on opt properties.
read this or this to understand linux files permissions (note that folders are just a type of files)
 
Old 01-21-2009, 06:53 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Just to clarify, if you use

su -

you need root's passwd

if you use

sudo su -

you need your passwd


(In *buntu systems, they've disabled su, so you have to use sudo , which makes it non-std in the *nix world)
 
Old 01-22-2009, 11:05 AM   #7
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
Yes the command are correct, but what they disabled is root account. And only the first user created (normally on install) is automatically added to admin group and sudoers file.
It might not be the standard, but it should be, it's simpler (user has to remind only one password) and as safe as having a root account.
 
  


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
user rights fmpfmpf Linux - Newbie 1 05-08-2008 07:41 AM
Regarding # /opt/CTEact/bin/act & /opt/SUNWexplo/bin/explorer not available for x86 rajaniyer123 Solaris / OpenSolaris 6 04-24-2008 10:09 AM
user rights cj4331 Linux - Newbie 6 02-20-2008 11:43 PM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 04:40 AM
User rights rcoman Linux - Networking 2 04-21-2003 01:56 PM


All times are GMT -5. The time now is 09:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration