LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   login problem (https://www.linuxquestions.org/questions/linux-general-1/login-problem-49420/)

k_ash 03-12-2003 07:37 AM

login problem
 
Hi all,

I am porting linux into flash disk. I copied /bin, /sbin, /usr/bin,
/usr/sbin,/etc and the required lib files from hdd to flash. System is getting booted from flashdisk, but i am unable to log into it. After entering user name and passwd, it is accepting it but login prompt redisplays. If i enter wrong user name/passwd it is showing error message.
I am able to enter into the system in single usermode. There it is not recognizing any user(including root). If i add user with useradd, command is executing successfully. But if i execute userdel with that user name, it shows user not found....

Can any body help me....

thanks in advance,
k_ash.

cnjohnson 03-12-2003 08:48 AM

If you have the room on a hard drive, copy the desired file systems to it (including the libs) and see if you can login via chroot (see the man pages). If you can, then it would appear that the flash is at fault. If you can't then you have copied everything you need, OR your permissions on the files were tampered with in the copy.

Cheers--
Charles


All times are GMT -5. The time now is 04:34 PM.