LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2003, 08:30 PM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Guest


Is there away to make a ":guest" account so they can only write to a guest directory but they dont really have access to certain programs?? Like i wanna make an account so when people come over and they wanna go on my computer they can like check out the net and download a few files and only certain programs?? Or is this to far fetched??

Thanx

Matt3333
 
Old 12-21-2003, 08:35 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I would recommend that you read up on permissions. I would start with the Book at http://www.slackware.com/book/index....rce=x2163.html . Then read man chmod. If you still don't undertand try googling.
 
Old 12-21-2003, 08:52 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
To allow people I know to use my personal PC about all I would do is change the permissions on my home directory to read, execute for user only, perhaps /var and /sbin to read, execute for root only.
Getting much nore complicated would mean configuring your whole system with a certain plan in mind. What programs should be available to who, setting groups and permissions accordingly, and knowing the consequences of your configuration.
 
Old 12-22-2003, 10:15 AM   #4
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
couldn't you add another group separate from users and when you make your guest account add them to that group instead? then turn off "other" access through chmod on the certain directories you don't want them to have. Since your normal users & groups should own the directories and files of their own data just turning off the "other" permission will lock out people who aren't a member of your group. If you're just worried about them getting access to your own files, well, your permissions should be set so that only the file owner has access to them.

The whole concept of group ownership and adding or subtracting people to different groups is so that you can have some people able to access certain things but not others. So yes, read up on permissions, chown, chmod, chgrp, etc. For example, if you only want you and say your brother to access music files or whatever, then create a directory called musicFiles, make a group called musicUsers, chgrp/chown the musicFiles directory and files in it to the new group, then add yourselves to that group. Finally turn off all other access to the files with chmod and make sure only the owner and group bits are set to whatever type of access you need. In this way, say if you chowned the files to you, you could give yourself read and write access to the directory. If you didn't want your brother to touch them, only use them, only give the group read permission, then he can't add or delete things to the directory. Giving other people (say your sister or parents maybe) access to the files is as simple as adding them to the group musicUsers or whatever you call it.

does that make sense?

some commands you might want to check are: chmod, chown, chgrp, groupadd, usermod, just to name a few.

Last edited by kriton12; 12-22-2003 at 10:29 AM.
 
  


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
Vmware guest awilisch Linux - Software 1 01-24-2005 07:35 PM
Can't connect to Guest OS grifta Linux - Networking 1 07-26-2003 10:09 PM
ftp as guest little_dan Linux - Software 3 01-03-2003 06:12 AM
Guest OS ZoZo Linux - General 1 09-25-2002 05:40 PM
can only samba as a guest matt Linux - Networking 5 09-07-2001 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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