LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   adding users on fedora (linux) (https://www.linuxquestions.org/questions/linux-newbie-8/adding-users-on-fedora-linux-592298/)

Elculion2 10-16-2007 12:45 PM

adding users on fedora (linux)
 
HELP!!!! I need to do this project and I dont know where to start:
create accounts for each of these users (matt, rick,alex and Felix) putting each respective list in two groups, as indicated on the sheet tabs for each spreadsheet. Don't add them using the GUI interface utility or by inputting each account at the command line using “adduser”. You are to develop (or find, modify) and test a shell/perl/<insert your Favorite interpreted language> utility which allows you to batch load both lists.
HELP!!!

acid_kewpie 10-16-2007 01:01 PM

Sorry, we aren't here to do your work for you, that would be cheating. You need to refer to course notes, reference documentation etc...

Btw, normally people don't directly cut and paste from their assignment texts...

The_JinJ 10-16-2007 01:18 PM

Quote:

Originally Posted by Elculion2 (Post 2926424)
No wonder Linux sucks, bcus only suckers use it. Windows rules!!!

Don't be a tit!

Anyway...to start you off....create the users....should be able to work out the rest :)

Create a file called users
Code:

neil
bananaman
biirrddmmannn
krusty

Create the users
Code:

#!/bin/sh
for i in `more users`
do
echo $i
useradd $i
done



All times are GMT -5. The time now is 04:22 AM.