LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-18-2014, 10:35 AM   #1
kenderkenobi
LQ Newbie
 
Registered: Nov 2014
Location: Buffalo Area
Distribution: Gnome?
Posts: 3

Rep: Reputation: Disabled
Terminal newuser and backup


Hello, I am hoping my question doesn't come off too cross or ostentatious.

I've always been a meddler in computers, but at 35 I decided to go back to college for a degree in computer science. Hoping for particular skill sets I was a little disappointed in finding things like basic coursework in linux wasn't required. I don't know anything about linux except to see it rising in the work place.

So, taking my own initiative I found my campus offered an online course on intro to linux. Cool. Some place to start. I was hoping a lot of instruction on terminal and and such. And there has been, but the class too has bee a bit disappointing. It's just not what I expected so maybe the disappointment is a bit unfair.

Anyway, the assignments have been straight forward, heck, it was 3 weeks just making sure everyone had some version installed some way on their home box.

Then the last assignment suddenly got crazy. It was set up an ftp server and Samba and pipe the instructor the results. I had no idea how to do it.

This assignment:
-Using useradd make a new user
-"Tail" the passsword file to make sure new user is displayed
-set user comments
-use touch command to make a new folder for the user's home folder
-use tar command to backup that new user's file

I admit I am lost. I definitely haven't taken as much linux away from this class as I had hoped, but I am hoping for some grace here.

Thanks to anyone who can lend a hand.
 
Old 11-19-2014, 03:23 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

useradd, tail, touch and tar are all standard command line commands/programs. Please try to do some research on each of those commands. The password file is actually /etc/passwd. Please feel free to post back if you get stuck on any particular point.

Evo2.
 
Old 11-19-2014, 11:46 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
If you want to learn Linux the proper way, try and stay away from the GUI and stay in an terminal emulator as long as you can.

Run "man <command>", like "man tail" or "man useradd", etc to to learn more about the commands.

For user comments check out the usermod command so "man usermod".

Learn about the commands using man to see the man pages. Then if you have further questions, post them here.
 
  


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
NewUser-Helloworld petebarth Linux - Newbie 3 08-14-2014 02:26 PM
Add newuser thachp Linux - Newbie 3 11-08-2005 11:57 PM
restrict newuser directory access lonerangerusa Linux - Security 2 05-02-2003 03:41 PM
Where can I find the newuser program? oostevo Linux - General 2 01-03-2002 11:00 PM
Where can I get the newuser program? oostevo Linux - General 0 01-02-2002 12:48 AM


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