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
Running script from other user rather than login user rawatds Shell Programming and Scripting 3 01-30-2009 01:18 PM
How to create a user in HP-UX Harikrishna HP-UX 3 02-08-2008 10:31 AM
Find all files created by a specified user in a directory and its subdirectories abhilashnair UNIX for Dummies Questions & Answers 5 06-13-2007 02:37 AM
Files created by particular user Anshu UNIX for Dummies Questions & Answers 2 06-13-2006 08:12 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 12:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-08-2006
jerome jerome is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 7
Red face I create user but i cant login the user i created.

I created a user, i login as a root. I add him in the group where he can access and login as a root! I checked it in users' list and in group's list, he is there. My problem is this, I cant login using the username/account I just created! What should i do to use and login the user/account i've just created?

By the way, i seached the shadow file in /etc but it does not exist, maybe its been deleted!
  #2 (permalink)  
Old 06-09-2006
piltrafa's Avatar
piltrafa piltrafa is offline
Registered User
  
 

Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 77
Well, first of all, how do you created the user? Did you use useradd or edit the passwd and shadow?. Which Unix are you working on?

Those information would help a lot !

Thanks
  #3 (permalink)  
Old 06-09-2006
jerome jerome is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 7
I created user using adduser command. I did not edit passwd, and shadow had been deleted by someone when i add that user (maybe he deleted it for some reason, i dont know why or maybe he change its location. As far as I know shadow only on /etc directory).

Im working FreeBSD 4.4 Release/i386.
  #4 (permalink)  
Old 06-09-2006
piltrafa's Avatar
piltrafa piltrafa is offline
Registered User
  
 

Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 77
BSD uses, as Linux, shadow passwords but the shadow file is not in /etc/shadow, instead you can find it in /etc/master.passwd.
if you dont have that file I believe your system is corrupted.

Other thing you can try is the home directory of the user, sometimes if that directory doesnt exist, the user cannot login to the system properly.
  #5 (permalink)  
Old 06-09-2006
jerome jerome is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 7
Quote:
Originally Posted by piltrafa
BSD uses, as Linux, shadow passwords but the shadow file is not in /etc/shadow, instead you can find it in /etc/master.passwd.
if you dont have that file I believe your system is corrupted.

Other thing you can try is the home directory of the user, sometimes if that directory doesnt exist, the user cannot login to the system properly.
Yeah it msg "nonexistent no such file or directory"! What must i do?

Im really sorry, coz maybe its just a idiot question for you but for me its a big big question mark! Thats reflect that im really ignorant that want to learn unix/BSD/Linux!

Thanks!
  #6 (permalink)  
Old 06-09-2006
tbgeek tbgeek is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 43
the passwd file is sym linked to another location. Since I am not familuar with BSD, you will need to search for the exact location of the original file.

do a man on find and you will see an example to search for a particular file.

HiH.
Sponsored Links
Closed Thread

Bookmarks

Tags
learn unix, linux

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 06:17 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