LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-24-2012, 10:08 PM   #1
ss4sgoku
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
how create create extreme limited user


hi i just wanna create a really limited user in my centos
what i want its that this user only acces to its desktop and run only the programs(shortcuts) that i place in there(desktop)
this user cant delete create or modify anything unless i use su or sudo or root pass to unlock it
cant use the options or programas from the menus without the root pass except the shutdown or log out
this user dont need ftp,http,ssh, read write external drivers or disks
i have been trying so hard but i cant make a user limited as this please helpme
 
Old 10-24-2012, 10:22 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 598

Rep: Reputation: 120Reputation: 120
Have you considered creating a chroot environment for this user. This would do all you want plus some more.
 
Old 10-25-2012, 02:25 AM   #3
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
If you want chroot ssh user to there home directory alone.Try these

http://www.cyberciti.biz/faq/restric...ectories-only/
 
Old 10-27-2012, 07:36 PM   #4
ss4sgoku
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks for your replys well im nob... i didnt know about chroot but if somebody can helpme with a good how to make something like that will be greate dont know if the chroot its the solution but im reading about that but i think it will take me more time that i though

Last edited by ss4sgoku; 10-27-2012 at 07:40 PM. Reason: forget something
 
Old 10-27-2012, 08:48 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,552

Rep: Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112
I would go for chroot, it allows you to only allow access to the bare essentials and nothing else. It does take some time to set up, namely because login errors are not very verbose, so it can take some trial and error until you copy over everything required for a successfully chroot login, but it's worth it IMO. Once you get it set up for one user, you can set it up for any number of users with relative ease.
 
Old 10-28-2012, 02:17 AM   #6
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 598

Rep: Reputation: 120Reputation: 120
Here's, what looks like the simplest and fastest way to start:
http://www.fuschlberger.net/programs...p-chroot-jail/

Since you'll be using a desktop environment, remember to add it's files together with X's files to the APPS lines of the script.

Hope this get's you going.
 
  


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
Create user add file with default password and force user to change it? Morgandy Linux - Newbie 3 02-02-2010 06:06 PM
Create FTP users, with limited permissions BillKat Linux - General 3 07-07-2009 04:14 AM
create very limited linux user, only give access to rdesktop treyhphp Linux - Newbie 14 02-18-2009 03:19 PM
create limited user freebsd jack111 *BSD 6 02-07-2009 04:32 AM
Create Limited User Accounts epihammer Mandriva 3 05-18-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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