LinuxQuestions.org
Register a domain and help support LQ
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 09-26-2003, 12:18 PM   #1
Sastian
LQ Newbie
 
Registered: Jul 2003
Location: Warsaw
Distribution: Slackware 9.0
Posts: 11

Rep: Reputation: 0
Question Managing user rights - how?


Dear co-groupers,

I would like to ask you for some help.
I have been using linux for some time now however I used to use my root account for all operations. Now I wanted to try something new and created another - user - account. Of course it has some default rights which means it doesn't have too much rights... Now I know I have to give my user account some additional rights to perform some operations, e.g. start X Windows or watch movies using mplayer.

My question is: how do I know which rights should I give to what file to do something? For example I tried to play a movie using mplayer and it does not allow me to do it. Some files require permission to read/write/execute them. How do I learn which file "attributes" to alter in order to be able to watch movies?

Thank you for all your help in advance.

Best regards,
Sebastian
 
Old 09-26-2003, 01:00 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
1) Is X Windows starting for root but not for a user?

2) The movies have to be in a directory accessible by user. You do not want to give a user access rights to roots home directory if that where you put them.

What I did was create a folder (as root) such as
/usr/allusers

set the permissions using
chmod 755 /usr/allusers

Then you can put whatever you want in the directory and all users can access it.

If something in that directory gives you a "permission denied" error
just do a
chmod 755
on it

For more info on file ownership and permissions see here;
http://www.peakpeak.com/~jallen/rhla...ation.html#1.2
 
Old 09-26-2003, 01:33 PM   #3
Sastian
LQ Newbie
 
Registered: Jul 2003
Location: Warsaw
Distribution: Slackware 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Dear darthtux,

Thank you for your reply.

As for your questions, yes - the "X's" do work in root, and do not work in user mode.

As for the movies - I'll have to check if the directory is accessible for anybody, but maybe it is the video driver or the sound driver which is not accessible by all users? Or maybe mplayer itself should have its permissions changed for it to work should any user want to start it? What do you think about that?

Thanks for your help.

Best regards,
Sebastian
 
  


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
Managing user permissions bountyhunter General 2 10-17-2005 02:38 PM
Managing user accounts in LDAP AdamSBS Linux - Enterprise 3 08-24-2005 09:42 AM
Managing User Account policies nirmaltom Linux - Enterprise 1 08-20-2005 08:50 AM
Managing Users in RH 8.0 (user permissions syntax) kalis_dc Linux - Networking 1 09-28-2003 08:51 PM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 04:40 AM


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