whoami: unknown uid 1000
Hi,
When I log in my telnet server (mini2440 board) I'm getting a 'no user' problem. (Kernel 2.6.32-2). $ telnet 192.168.1.230 > login: eduardo > Password: ***** Code:
[@FriendlyARM eduardo]# whoami Code:
[@FriendlyARM eduardo]# id Code:
root:$1$YHaEEVEZ$xfpczPKB2HMSfXlL2vRhR0:0:0:root:/:/bin/sh This happens every time that I add a new user on the system. The group is correctly shown on the last line of /etc/group file: "eduardo:*:1000:" User "root" is OK, but the "eduardo" user not. Is there any other file on the linux system that stores the uid's of the users? |
What are the permissions on /etc/passwd ? They should be 644.
|
I can't believe I missed that.
I thought that the problem was the permission, then, I set the permission 777, but that didn't solve. But with 644 it's fine. Thanks AlucardZero! More info about /etc/passwd file could be find here: http://www.cyberciti.biz/faq/underst...d-file-format/ Is there any explanation about why telnet the system doesn't read the user id when the permission is wrong (777 for example)? |
All times are GMT -5. The time now is 08:51 AM. |