![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create a user in HP-UX | Harikrishna | HP-UX | 3 | 02-08-2008 07:31 AM |
| Find all files created by a specified user in a directory and its subdirectories | abhilashnair | UNIX for Dummies Questions & Answers | 5 | 06-12-2007 11:37 PM |
| Running script from other user rather than login user | rawatds | Shell Programming and Scripting | 2 | 08-25-2006 12:51 AM |
| Files created by particular user | Anshu | UNIX for Dummies Questions & Answers | 2 | 06-13-2006 05:12 AM |
| Other than root user .Normal user is unable to create files | mallesh | UNIX for Advanced & Expert Users | 1 | 06-22-2005 09:18 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
Quote:
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
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |