| | |
Help setup a few basic things on my unix box please?
![]() |
•
•
Join Date: Apr 2009
Posts: 19
Reputation:
Solved Threads: 0
Can someone help me accomplish the following on my unix box? Can someone walk me through step by step for each task? I'm connecting to a machine using UBUNTU with SSH with admin priviledges.
1. Create an account for myself as administrator
2) create one additional regular user account which does not have sudo
privileges, it is just regular user.
a) create a login name
b) establish appropriate group(s)
c) create the home directory
d) create the login shell
e) establish a pass word for the user
f) set an appropriate PATH
g) place appropriate files in the home directory
3) Identify the version of the OS and relative data.
4) Identify the nature of the hardware providing relevant
information.
5) Use cron to execute a particular program at 10 PM every
Tuesday.
6) Write a script to identify current users on the system with
an indication of the actions they are performing. Identify only users.
7) install xpdf
1. Create an account for myself as administrator
2) create one additional regular user account which does not have sudo
privileges, it is just regular user.
a) create a login name
b) establish appropriate group(s)
c) create the home directory
d) create the login shell
e) establish a pass word for the user
f) set an appropriate PATH
g) place appropriate files in the home directory
3) Identify the version of the OS and relative data.
4) Identify the nature of the hardware providing relevant
information.
5) Use cron to execute a particular program at 10 PM every
Tuesday.
6) Write a script to identify current users on the system with
an indication of the actions they are performing. Identify only users.
7) install xpdf
•
•
Join Date: Mar 2009
Posts: 15
Reputation:
Solved Threads: 2
LOL. This sounds more like a homework project than it sounds like a UNIX install, but I'll see what I can do to get you on the right path.
Typically, there's no "administrator" accounts on UNIX. Some "old guy" will probably start arguing with me about the wheel group, but essentially you're either root or your not. So, if you have the root password -- congratulations, you're an administrator :-)
As for setting up an account, you can pretty much just use useradd (I think it might be adduser on some systems, just to screw with dyslexics). Something like this should work:
This will create a user with the comment of "First Last" (usually their name) and a username of 'username'. The -m causes it to create the home directory if it does not already exist.
As for the system type, `uname -a` as you have already discovered will get you well on your way. I don't know if it works on Ubuntu or not, but I've always been a fan of `cat /etc/issue` for determining the install OS. It's actually the file that gets displayed when you connect via telnet (slowly going the way of gopher), but it usually contains the OS distro version.
To help with the rest of the commands, try something like this:
That should at least get you on the right path (no pun intended).
</help with a flair of sarcasm>
-geis
Typically, there's no "administrator" accounts on UNIX. Some "old guy" will probably start arguing with me about the wheel group, but essentially you're either root or your not. So, if you have the root password -- congratulations, you're an administrator :-)
As for setting up an account, you can pretty much just use useradd (I think it might be adduser on some systems, just to screw with dyslexics). Something like this should work:
bash Syntax (Toggle Plain Text)
useradd -c "First Last" -m username
This will create a user with the comment of "First Last" (usually their name) and a username of 'username'. The -m causes it to create the home directory if it does not already exist.
As for the system type, `uname -a` as you have already discovered will get you well on your way. I don't know if it works on Ubuntu or not, but I've always been a fan of `cat /etc/issue` for determining the install OS. It's actually the file that gets displayed when you connect via telnet (slowly going the way of gopher), but it usually contains the OS distro version.
To help with the rest of the commands, try something like this:
bash Syntax (Toggle Plain Text)
man cron man 5 crontab man passwd man w man 5 group # (and if that doesn't help) man man
That should at least get you on the right path (no pun intended).
</help with a flair of sarcasm>
-geis
Some Favorite Sites -- favorite b/c they're mine :-)
Buy Linux Backup Software - InternetStarting, Websites for Beginners
Buy Linux Backup Software - InternetStarting, Websites for Beginners
![]() |
Similar Threads
- Winsock Multi-Client Servers (C++)
- dialog box in C... (C)
- How would I send a remote command to a UNIX box from a PC using C#? (C#)
- General Tips for Mac OS X (Mac tips 'n' tweaks)
- Best way to build a LAN? (Networking Hardware Configuration)
- What does it take to be a "power linux user"? (Getting Started and Choosing a Distro)
- Learning Unix (Getting Started and Choosing a Distro)
Other Threads in the *nix Hardware Configuration Forum
- Previous Thread: Asus loses netbook crown to Acer
- Next Thread: installing linux on SiS motherboard chipset
| Thread Tools | Search this Thread |
360 acer amazon amd asus atom babbage blackberry bluray broadband camera censorship centrino ces china chips chipset computers console data dell development digitalcamera dvd ebook eeepc environment epson europe fashion freedom gadget gaming gps gpu graphics handset hardware hd hddvd history homersimpson homeworking hp ibm intel japan keyboardpc kindle ladies laptop law markets memory microsoft mobile motoring museum netbook news nintendo nokia notebook nvidia opensource patents pc peripherals photography playstation printer printing processor ps4 quadcore quake recycle replication report rim satnav screenflicker simpsons smartphone sony speed spot stephenfry supercomputing technology tomtom top10 toshiba tv ubuntu usb wireless workstation x-rayspecs xbox





