LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-09-2007, 02:29 PM   #1
PostCode
LQ Newbie
 
Registered: Jun 2002
Posts: 9

Rep: Reputation: 0
Need help understanding this


Yes, it is homework but I am not asking for the answer.

I'm taking a class on operating systems and we are entering an intro to the cli in Linux (after completing a rather boring Windows XP Command Line section).

The teacher has given the following question:

Q: View the file /etc/passwd. This is a file that lists all of the users who have accounts on the host computer followed by a colon character and other user information. The first user ID in this list is root – the system administrator.

The first sub-question to this was who is the second user listed. That part I understand. Root was first, bin was second.

The next sub-question to this is:

What are two other names for this user?

That is, what are the two other names for the bin user. I went to a website that gave me some minor details/explanation on this particular file but not enough to really answer this question. That location is below:

http://www.cyberciti.biz/faq/underst...d-file-format/

Again, from that information I'm still unclear as too exactly what the two users/usernames are.

I'm not asking for the answer but shoot, an explanation would be great. I'm not new to Linux but these kinds of details are not something I've ever worked with before.

Last edited by PostCode; 11-09-2007 at 02:31 PM.
 
Old 11-09-2007, 02:48 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
An odd question ... I guess he wants to hear that root = Superuser or Administrator
or something the like. Looking at /etc/passwd won't tell you that, though.


Cheers,
Tink
 
Old 11-09-2007, 04:04 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
On Debian (GNU/Linux, Linux is only the kernel), the second is daemon, third is bin, fourth is sys.
But have no clue what they are used for
SuperUser is another name for root..
Weird question..
 
Old 11-09-2007, 04:12 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
http://www.unix.org.ua/orelly/networ...is/ch04_01.htm

It's possible that the /etc/passwd file contains multiple users with the same UID. So there would be multiple usernames, but the same user. See the link I posted.

Last edited by pljvaldez; 11-09-2007 at 04:26 PM.
 
  


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
help understanding ln dr_zayus69 Linux - General 3 01-14-2005 08:33 PM
A better understanding! nny0000 Slackware 1 04-14-2004 12:01 PM
Understanding X?? ++ bdp Linux - General 2 02-25-2004 05:47 PM
Understanding X?? nny0000 Linux - General 2 02-25-2004 02:07 AM
Understanding df -k itsjustme Linux - General 6 10-28-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:24 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
Open Source Consulting | Domain Registration