LinuxQuestions.org
Review your favorite Linux distribution.
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 03-05-2015, 09:02 AM   #1
rasy
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Rep: Reputation: Disabled
User creates other users


I am a ordinary user and if I want to create other users what are the security risks that I should be concerned
 
Old 03-05-2015, 09:20 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
First of all, this is not possible on most linux distros. Adding user requires root privileges. You will need to use su and the root password, or sudo, depending on distro.

It would help a lot if you posted more information. What disrto? Your logic for your request? Without that information, we can only guess at the best way to help.
 
1 members found this post helpful.
Old 03-05-2015, 11:56 AM   #3
rasy
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
First of all, this is not possible on most linux distros. Adding user requires root privileges. You will need to use su and the root password, or sudo, depending on distro.

It would help a lot if you posted more information. What disrto? Your logic for your request? Without that information, we can only guess at the best way to help.
It is for the Ubuntu distro. The scenario is a professor creating accounts for the students in a class. How to minimize the security risks.
 
Old 03-05-2015, 12:56 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,487

Rep: Reputation: Disabled
We've had that scenario before; create a new group & put the students into the group.
 
Old 03-05-2015, 01:08 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You need to look at what groups adduser sets for a new user by default. Its been a long time since I ran any version of Ubuntu, so I don't know what groups are added by default. You will have to investigate this. You will need to know what groups added allow access to. Some are easy enough, such as audio, or floppy. Others such as plugdev allow for plugging in usb sticks, and with that you can open up Pandoras box.

I use webmin for a lot of administration. It has a very nice interface for adding users and groups. You can also list what group any particular user is a member of.

Ubuntu may have some gui tool also.

Assuming you have not altered permissions on the system(s), that will keep the students from doing anything drastic to the system. Make sure root access remains confidential.

Security is a very large topic. There are many other things to consider, such as web access, and network access to other systems on your network.
 
1 members found this post helpful.
  


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
Apache user creates file in root account but not in other users msp4422 Linux - Newbie 4 04-28-2014 01:47 PM
webmin 1.540 creates wrong users hua Linux - Server 4 07-22-2011 01:45 AM
LXer: Xandros Creates Enhanced User Experience for Netbook Users With Moblin V2 LXer Syndicated Linux News 0 06-03-2009 03:00 AM
LXer: Piracy creates jobs, FOSS creates opportunities LXer Syndicated Linux News 0 11-02-2006 11:33 AM
why xterm creates a new user lfur Linux - General 2 07-18-2003 05:50 AM

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

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