nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

can not find user name in /etc/passwd file

This is a discussion on can not find user name in /etc/passwd file within the Linux software forums, part of the Linux Getting Started category; I am not able to find a particular user name which is used to login over ssh, in /etc/passwd and ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-23-2007, 06:34 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 6
Rep Power: 0
subrata1in
Default can not find user name in /etc/passwd file

I am not able to find a particular user name which is used to login over ssh, in /etc/passwd and /etc/shadow file. Login attempt is successful because I can found that username when I issue "w" command (“w” command is same as “who”).

Strange thing is that I can even create user with same name with which I am already logged in (no error reported). I think user creation is also successful because, now I can find the user name in /etc/passwd file. But when I try to delete that user an error occur (telling that user already logged in).

Any idea about this issue??????? Mind that I am using SSH to connect Linux. I think my Linux is bit different.
Here is the description about the OS... OS name - Linux, OS release - 2.6.14VENTURI64, OS version - #5 SMP.
Any idea how to configure a user like that??????????????

Thanks
Subrata
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-24-2007, 11:39 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 14
Rep Power: 0
narasimha.reddygnv
Default could u explain the process how u connected

required for our project ..urgent
Reply With Quote
  #3 (permalink)  
Old 03-26-2007, 10:44 AM
Junior Member
User
 
Join Date: Mar 2007
Posts: 6
Rep Power: 0
subrata1in
Default just give the user name and password

open any SSH client.. give the following command...

ssh USERNAME@IPADDRESS

Than type yes if it askes any question.................enjoy the ssh


Regards
Subrata
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
To find and replace in text file nashtech Shell scripting 3 07-31-2008 06:46 PM
UNIX command to find out whether particular process of a particular user is running Santosh Sharma Shell scripting 1 01-17-2008 03:26 PM
can not find the username in /etc/passwd file subrata1in Getting started tutorials 5 03-27-2007 11:45 AM
Find out information about my file - explaining ls command sweta Getting started tutorials 1 01-11-2007 04:21 PM
find out info. reg. files for each user in the system ganes Solaris/OpenSolaris 6 09-20-2005 06:49 PM


All times are GMT +5.5. The time now is 04:58 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36