The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/passwd file manipulation puneet HP-UX 1 04-09-2008 02:00 PM
help in /etc/passwd file useless79 Shell Programming and Scripting 4 09-19-2007 06:23 AM
/etc/passwd file s_mad010 Security 4 12-06-2005 08:14 AM
Help! passwd file corrupted Tony Montana UNIX for Dummies Questions & Answers 2 05-21-2005 09:45 AM
passwd file corrupted cantona7 HP-UX 10 03-21-2005 03:06 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-16-2008
ij_2005 ij_2005 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 5
A question on /etc/passwd file

I have a question here on /etc/passwd file.

There is a user called user_a, when it is defined in /etc/passwd as below
+user_a:x:::::/bin/ksh
after user_a login, the system could not recognize the correct enviromental variable $USER_A_HOME which is defined in .kshrc file (under /home/user_a folder) as "export USER_A_HOME=$HOME"

However, if the user is defined in /etc/passwd as below
user_a:x:38029:10::/home/user_a:/bin/ksh
the system could correctly recognize $USER_A_HOME as /home/user_a


Normally, if the user is defined as user_a:x:38029:10::/home/user_a:/bin/ksh, the .profile and .kshrc file will be launched by system when user_a login.

I wonder the reason is $HOME is not defined in first setting +user_a:x:::::/bin/ksh

I don't understand the NIS system well. Here I want to know if the user_a is defined as +user_a:x:::::/bin/ksh, what will the system execute when it login.
 

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 08:07 PM.


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