Sponsored Content
Full Discussion: System Admin. Lab
Homework and Emergencies Homework & Coursework Questions System Admin. Lab Post 302800351 by Jagst3r21 on Monday 29th of April 2013 02:40:59 PM
Old 04-29-2013
System Admin. Lab

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Create a group id with your last name. Create 2 user IDs using your last name and the numbers 1 and 2. For each ID setup a profile similar to the lab 6 profile.


2. Relevant commands, code, scripts, algorithms:

System Administration

3. The attempts at a solution (include all code and scripts):

Code:
groupadd lastname  
useradd -u 1 -g lastname1 -d /home/lastname1  
useradd -u 2 -g lastname2 -d /home/lastname2

The lab 6 profile is this (not sure how I would add it for each user??):

Code:
date
who
export PS1='${PWD}'
PATH=$PATH:$HOME:$PWD

Am I right and/or close?

4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):

Brookdale Community College - Lincroft, New Jersey - United States - Dr. Rick Bournique- COMP 145

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UNIX System Admin Document

Hi all I am trying to document my entire system (hardware/software/admin) Is there a template I could use for the purpose. This document will be the used by all System admins/ Management the company when they want to find out anyting about any of the servers we manage. If there is no such... (6 Replies)
Discussion started by: skotapal
6 Replies

2. HP-UX

donation on hpux system admin cbt disks

Does anyone has a CBT diskett on HPUX admin that you want to donate or sell for $50. I"m a newby admin in need of assistant... thanks..all :( (0 Replies)
Discussion started by: hpux2006
0 Replies

3. Shell Programming and Scripting

Scripting language for system admin

Am trying to learn a scripting language to automate mundane system admin tasks. Being a Novice, Just trying to understand, which language would be easier to learn and one for all types. i.e Perl or Shell scripting. Which of these would be good for a system admin, Database admin ?? pls. post... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

4. AIX

New to AIX System Admin

Hi everyone, im new to AIX, where can I find some free beginner AIX System admin guide which is similar to AIX Basic Operations V5 http://www-03.ibm.com/certify/tests/obj190.shtml (9 Replies)
Discussion started by: ibmer414
9 Replies

5. AIX

L2 and L3 AIX System Admin Tasks

Hello Everyone...I am new to this forum and before asking i already see links for books and videos...I would like to know the tasks for L2 and L3 AIX System Admin. edit by bakunin: You shouldn't hijack others threads for your own questions. If you have a genuine question to ask you're entitled... (3 Replies)
Discussion started by: Allhappies
3 Replies

6. HP-UX

After becoming HP UX 11iV3 System Admin

What is a logical step forward to learn much more about HP UX? Learn HP Integrity BladeSystem Administration or learn more about scripting? Learn more about storage? Can someone tell me how to become more effective? I am already working with HP UX everyday. Thanks a lot for every reply I... (4 Replies)
Discussion started by: velde_van_der_a
4 Replies

7. Red Hat

System Admin related document with example

Hi, I am looking for perfect document.which is covered all the admin role with examples..... --> Please say that "search in google"...... Can you please help on this.... Thanks & Regards, Mani (3 Replies)
Discussion started by: Mani_apr08
3 Replies

8. Linux

Kernel developer or system admin

Hi, I am already working as Linux admin for last 5 years. Now I want to do something more. So wanted to ask you guys what would be better. I have 2 interests for making my future 1. Linux kernel development 2. Linux system admin + storage Welcome your thoughts!!! (5 Replies)
Discussion started by: prashant2507198
5 Replies

9. Red Hat

Would like to study and take rh system admin exam.

hello, when the times comes where do I schedule for the linux system admin exam? I have taken exams before through vue or prometric I did not see rh system admin exam on either site? any feedback would be helpful such as cost? how many test is it one or two? is the comptia linux+ just as recognized... (3 Replies)
Discussion started by: arcolinux
3 Replies
profile(4)							   File Formats 							profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy