The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ftp and user/password joeyg Shell Programming and Scripting 7 02-07-2008 05:32 PM
help adding a new user/password bones SUN Solaris 5 02-01-2008 05:02 AM
RID - password - user salvor_hardin UNIX for Advanced & Expert Users 1 12-09-2007 11:13 PM
Add User and Password alan thui UNIX for Dummies Questions & Answers 1 11-08-2001 10:14 AM
How to add new user and password through script ehsan Shell Programming and Scripting 1 11-06-2001 05:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-26-2001
Cerberus Cerberus is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 7
user Id vs Password

Hello out there in unix.com land. I am Cerberus and this is my first post. I am brand new to Unix and i have a quesiton for you all.

Relating to the Unix Password File Setup, what is:

User ID?
Password?

any insite comparing one to the other as far as specifics would be greatly appreciated.

Thank You
Cerberus
  #2 (permalink)  
Old 09-26-2001
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Well, as is indicated by their names, UserID is what identifies you to the machine you are logging in to. The Password is a (hopefully) unique string that only the owner of that account should know. This keeps others from logging in to your account.

The Unix password file (/etc/passwd) contains the following fields for each user ->
name:passwd:uid:gid:gecos:dir:shell

* The name is the UserID.

* Password is, well, the password (This is either stored in encrypted form, so that no one can know your password just by looking at this file, or stored in a different file, called 'shadow'. If the password is stored elsewhere, there will be an 'x' in the password field).

* The UID is your UserID - a number unique to your system that identifies you to the computer ( sort of like a hostname like slashdot.org is another name for the IP address 64.28.67.150 ).

* The GID is a GroupID - you can belong to different groups to identify you further.

* GECOS is leftover from the old (you guessed it) GECOS operating system - this give even friendlier information, depending on how it is set up, like your full name, department, office number, phone number, so on...

* The DIR is your home directory - when you log in, this is where you will be, and most likely where you store all of your files.

* The shell field tells the computer what "shell" to use, like ksh, sh, bash, csh, and so on... The shell is what you type into - it "translates" to make the commands you type run. It talks (pretty much) directly to the core of the Operating System.

Anyhow, this now concludes the short passwd tutorial. Hope that helped!
  #3 (permalink)  
Old 09-26-2001
Cerberus Cerberus is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 7
Wow! I am extreamly impressed. That was an outstanding answer, honestly more than I thought I would get. You have my never ending gratitude. That was consise and even more so to the point and extreamly educational. Thank you very much LivinFree.



Cerberus
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0