LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2004, 11:27 AM   #1
Vizy
LQ Newbie
 
Registered: Oct 2003
Location: Slovenia
Posts: 23

Rep: Reputation: 15
Permission for normal users


I have a problem with permissions. I cant figure out how to use sudo.
i have everything up and working, but this only works as root. What do i have to do if i want to mount my CD-ROM or win partition, or use adsl-start, when loged on as normal user?
I'm using Slackware 9.1 with Gnome desktop, and my linux box serves me as a desktop.

Can someone plz give me an usefull link how to do all this things or just give me an example of sudo config with comments.

Looks like im the only one having this problems cause i cant find anything simmilar to my questions anywhere.....or i just dont know what to search for correct results.
 
Old 03-16-2004, 11:39 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You adjust permissions for cdroms and Windows drives by editing the /etc/fstab file. In the fstab, look for the lines that refer to the devices you want to edit. Then adjust:
#example:
/dev/hdc /mnt/cdrom iso9660 defaults,owner,ro 0 0
/dev/hda1 /mnt/win vfat defaults 0 0

Change above to (by adding, removing certain things):
/dev/hdc /mnt/cdrom iso9660 defaults,users,ro 0 0
/dev/hda1 /mnt/win vfat defaults,umask=0 0 0
Edit: 'users' lets reg users mount the cdrom, 'umask=0' sets permissions on windrive to rwxrwxrwx.
Here's a howto on sudo:
http://www.siliconvalleyccie.com/linux-hn/sudo.htm
Another HOWTO:\
http://216.239.39.104/search?q=cache...hl=en&ie=UTF-8

Last edited by aaa; 03-16-2004 at 11:49 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Permission Denied" for normal users on physical console brycebent Linux - Security 5 07-14-2005 11:42 PM
How can give ROOT permission to a NORMAL USER bipinkdas Linux - Software 2 06-23-2005 11:03 PM
permission problems for normal user c0d3-z3r0 Linux - Newbie 7 06-12-2004 08:02 PM
permission for normal users to read my NTFS HDs. Moebius Linux - Newbie 6 01-26-2004 06:23 AM
snes9express and normal users murray_linux Slackware 12 12-20-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:25 PM.

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