LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-16-2006, 01:25 PM   #1
zenix
LQ Newbie
 
Registered: Dec 2002
Location: Portland, OR
Distribution: CentOS
Posts: 23

Rep: Reputation: 15
Deny Write Access to Home Directory


Anyone know of a way to prevent users from writing to their home directory from within gnome on RHEL 4? I'm trying to create an Internet kiosk and want it as locked down as possible. I tried the option in Gconf, but it didn't work. Maybe I did something wrong?

Thanks for any help!

Daniel
 
Old 06-16-2006, 01:30 PM   #2
SpelledJ
Member
 
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 119

Rep: Reputation: 20
How about chmod -w /home?
 
Old 06-16-2006, 01:34 PM   #3
zenix
LQ Newbie
 
Registered: Dec 2002
Location: Portland, OR
Distribution: CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
you can't log into gnome if you set the home dir permissions to read/execute or read only.

Thanks for your reply.
 
Old 06-16-2006, 02:57 PM   #4
SpelledJ
Member
 
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 119

Rep: Reputation: 20
I didn't know that was the case with Gnome. You might try experimenting with leaving the appropriate hidden config directories under /home/user writeable, but remove write access on the rest of the directory. Try logging into Gnome and checking the time stamps on everything under the user directories to see what gets written to.
 
Old 06-16-2006, 05:47 PM   #5
zenix
LQ Newbie
 
Registered: Dec 2002
Location: Portland, OR
Distribution: CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
That is what I did when I was testing it. I know that the user must have write access to serveral of the hidden directories, so I only changed the permission on the user's home directory directly.

Thanks again.
 
Old 06-28-2006, 12:07 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Safe thing to do is wipe/reinstall user acct after each use. You just can't be too sure.
Alternatively, use Terminal Server approach: http://www.ltsp.org/
 
  


Reply

Tags
centos, rhel



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
No write access to home directory after a fresh install Lordandmaker Ubuntu 3 05-13-2006 05:49 PM
Deny user access to terminal/directory browsing intranet_man Linux - Networking 2 03-22-2006 12:04 PM
No write access to #home directory RichGags Linux - Newbie 9 01-24-2006 04:21 AM
Installed newer mandrake, but /home directory doesn't have write access anymore?!? repeater75 Mandriva 2 02-19-2004 08:48 PM
"No write access to $HOME directory" Arthaus Linux - Newbie 2 01-12-2004 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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