LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2008, 06:06 AM   #1
Mario Blunk
Member
 
Registered: Dec 2008
Location: Wild Eastern Germany
Distribution: OpenSuse Tumbleweed
Posts: 131

Rep: Reputation: 21
blocking users customizing kde


Hello,

is there a way not to allow non-root users any changings of the kde desktop ? My customers mess up the task bar, panel settings and so on. The usually don't know how they made these changings ...

cheers, Mario
 
Old 12-16-2008, 06:25 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 79
find /home -name .kde -exec chown -R root:root {} \;
find /home -name .kde -exec chmod -R 700 {} \;

Please try it on a test machine before doing that in production. I'm not sure if that works and if that has other hidden consequences.
 
Old 12-16-2008, 07:25 AM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by Agrouf View Post
find /home -name .kde -exec chown -R root:root {} \;
This is a really bad idea. Users won't be able to log into desktop after that - it will fail with error message, and then they will be thrown back to login screen.

Quote:
Originally Posted by Agrouf View Post
find /home -name .kde -exec chmod -R 700 {} \;
~/.kde subfolder has 700 permission by default. So this won't work.
 
Old 12-16-2008, 08:07 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 79
indeed...
just replace the 2nd command with:
find /home -name .kde -exec chmod -R 744 {} \;
And do it before the first
I don't know if that will work.
Do they need to write to .kde?
Maybe just .kde/share/config?

Last edited by Agrouf; 12-16-2008 at 08:09 AM.
 
Old 12-16-2008, 08:26 AM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by Agrouf View Post
indeed...
just replace the 2nd command with:
find /home -name .kde -exec chmod -R 744 {} \;
I think that KDE needs write access into ~/.kde folder. It has symlinks and it looks like the frequently change.

Quote:
Originally Posted by Agrouf View Post
I don't know if that will work.
Then I'd recommend to test it first before making recommendations.
 
Old 12-16-2008, 09:45 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 79
Quote:
Originally Posted by ErV View Post
Then I'd recommend to test it first before making recommendations.
I can't right now.
You should test and if that does not work, maybe just put .kde/share/config in read only mode.

Last edited by Agrouf; 12-16-2008 at 09:53 AM.
 
Old 12-16-2008, 05:42 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,110

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Please do a search for kde kiosk
And follow the links
 
  


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
Customizing KDE 4.1 sharky Ubuntu 2 08-26-2008 09:36 PM
Customizing KDE login jdozarchuk SUSE / openSUSE 3 02-07-2005 09:39 PM
customizing menu in kde 3.1 neri Linux - Software 1 03-20-2004 03:55 PM
Customizing KDE triki Linux - Software 3 12-19-2003 02:23 PM
KDE Customizing Stephanie Linux - General 0 08-18-2001 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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