LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-26-2004, 09:02 AM   #1
tHcnunz
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Permissions, File, Directory access


HI there,

For a start, I am a linux newbie, and I know nothing about permissions, groups etc.....

I would like to know, how can I setup a user,( anyone other than root, to have the same permissions as root?)

I want my user to be able to perform any task...installing apps etc etc.... Is this possible???

I am trying to install the mp3 update for Fedora, except I get the following.....

error: cannot create %sourcedir /usr/src/redhat/SOURCES




What am I doing wrong? I presume this is a problem to do with write permissions to this dir?

Can someone give me a brief explanation of how permissions, groups etc work in Linux.


Thanks very much
 
Old 03-26-2004, 09:23 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
There are several man pages you should consider reading and they are as follows:

chmod
chown
chgrp
usermod

To view the man pages, just simply type man and then the command name after it like this:

man chmod

And word of advice, don't create users that have root's abilities, its bad security practice. You will want to either just su or setup sudo to do certain tasks that only root can do for your other users, etc.
 
Old 03-26-2004, 09:24 AM   #3
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
If you need a user with the same permissions as root, then use root

But be careful about that. If you make a mistake you can screw things up pretty good.

Open an xterm and type "man chmod". That does a pretty good job of explaining what permissions are and how they work. If there's something there that you don't get then post again...

John
 
Old 03-26-2004, 09:25 AM   #4
tHcnunz
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks very much. I will have a read. Nice to get a push in the right direction. Cheers.
 
  


Reply



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
samba file/directory permissions jonfa Linux - Networking 2 06-29-2005 08:03 AM
File/Directory Permissions waynevnc Debian 1 05-23-2005 04:23 PM
File and Directory permissions plasmapudding Red Hat 3 09-09-2003 10:26 AM
vsftpd and file/directory permissions dynamo|x Linux - Security 7 06-01-2003 09:37 PM
Directory and file permissions ryan Linux - Security 2 12-06-2000 12:46 PM

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

All times are GMT -5. The time now is 02:55 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