LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-20-2016, 08:12 PM   #1
edecode
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Rep: Reputation: Disabled
Create an user with limited permission on Lubuntu


Hello folks,

I pretend install Lubuntu 16.04 LTS in pc for any employer use this pc! I think create an user with, only, permission to read and write, 770.
This is the best scenario?
I think create this user through terminal, because I pretend create a script, and I don't where wizard has install on system for create and delete users!

I pretend disable Lubuntu Software Center, because I don't want which employers can install programs. This is the best shot?

I read, some here which, for a system more security, should change some relative with sudo and su! I can remember well about this! Any have an idea what can or should do relative with the su / sudo for the system be more security?
 
Old 10-20-2016, 09:24 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Only the first user has sudo right, all other users will have limited rights by default unless you explicitly elevate their rights.
 
Old 10-21-2016, 06:48 PM   #3
edecode
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ok, but how should I create this users and assign your permissions? I need do this through terminal.

I need also which the root has option in menu lxpanel different has user common! For example, in root has label "Applications" with many programs, but he user_1_common hasn't this label, only has option "logout". this is possible?

thanks
 
Old 10-22-2016, 04:14 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by edecode View Post
Ok, but how should I create this users and assign your permissions? I need do this through terminal.
You'd use "adduser", "addgroup", "passwd" and "gpasswd" to set up the users and groups. See the corresponding manual pages for the useful options.

Quote:
Originally Posted by edecode View Post
I need also which the root has option in menu lxpanel different has user common! For example, in root has label "Applications" with many programs, but he user_1_common hasn't this label, only has option "logout". this is possible?
That can be more difficult, depending on how locked down it has to be. There are several ways to create a kiosk but if you just want to remove certain programs from the LXDE menu, then just edit the menu for that one user's account.

However, you're implying that the someone will be logging in as root to the graphical interface. That's something that should never, ever happen. Instead, which tasks need to be carried out? List them and then customize /etc/sudoers so that an additional account can use just those tools. By default Lubuntu does not allow root logins. I'd recommend strongly keeping that default.
 
  


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
Create new user with limited folder access ITTrucker Linux - Newbie 6 03-05-2013 10:15 AM
how create create extreme limited user ss4sgoku Linux - Newbie 5 10-28-2012 01:17 AM
create limited user freebsd jack111 *BSD 6 02-07-2009 03:32 AM
Limited permission on FTP user stefane321 Linux - Security 3 03-04-2005 07:21 PM
Create Limited User Accounts epihammer Mandriva 3 05-18-2004 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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