Unix Review > Archives > 2007 > June 2007

UnixReview.com
June 2007

Test Your Knowledge of Users and Groups

by Emmett Dulaney

If there is one thing that all administrators deal with on a regular basis, it is users and groups. If there is one topic that you should know inside and out, it is users and groups. That said, following are 50 questions intended to test your knowledge of user and group fundamentals at an intermediate level. Good luck (answers are at the end of the article)!

1. What is the default UID number assigned to the first user added to a system on most systems?

A. 1
B. 100
C. 1000
D. 10000

2. Which command can be used at the command line to change your active GID to a new one?

A. chgroup
B. group
C. newgrp
D. switch

3. Which field of the /etc/passwd file identifies the user’s primary group ID?

A. 1
B. 3
C. 4
D. 5
E. 6
F. 7

4. NIS entries are automatically added to your system. What character precedes entries in /etc/passwd for which this is done?

A. +
B. !
C. ?
D. %

5. How many fields does the /etc/shadow file consist of?

A. 7
B. 9
C. 12
D. 15

6. Which command can be used to see a user’s password aging information?

A.

Sys Admin Spotlight

CMP DevNet Spotlight

Highlighting Multiple Search Keywords in ASP.NET
This article demonstrates how to highlight a multiple keywords within a DataGrid control, no matter where they are in the text.

In the News

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 11.0

Version 11.0 delivers every issue of Sys Admin from 1992 through 2005 and every issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!




MarketPlace

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Wanna see your ad here?