Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 01-30-2013, 01:34 PM   #1
Registered: May 2010
Distribution: Ubuntu
Posts: 72

Rep: Reputation: 18
whoami: unknown uid 1000


When I log in my telnet server (mini2440 board) I'm getting a 'no user' problem. (Kernel 2.6.32-2).

$ telnet
> login: eduardo
> Password: *****
[@FriendlyARM eduardo]# whoami
whoami: unknown uid 1000
The id command also shows that my user is not correctly configured...
[@FriendlyARM eduardo]# id
uid=1000 gid=1000(eduardo) groups=1000(eduardo)
my /etc/passwd file is:
sshd:*:30:30:sshd privsep:/var/empty:/sbin/nologin
eduardo:$1$3qCVXcy4$FiFQRDbPnXb4V3wgJ97Wp0:1000:1000:Linux User,,,:/home/eduardo:/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:

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?
Old 01-30-2013, 03:50 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
What are the permissions on /etc/passwd ? They should be 644.
1 members found this post helpful.
Old 01-31-2013, 04:25 AM   #3
Registered: May 2010
Distribution: Ubuntu
Posts: 72

Original Poster
Rep: Reputation: 18
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:

Is there any explanation about why telnet the system doesn't read the user id when the permission is wrong (777 for example)?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14: "Adding read ACL for uid 1000, operation not permitted." (CONFIG_TMPFS_POSIX_ACL) urza Slackware 3 10-01-2012 08:49 AM
[SOLVED] Perl: Find highest UID between 1000 and 2000 Angel2953 Programming 8 03-04-2012 09:00 AM
Changing the UID of a Physical Volume to a specific UID jambraun Linux - Newbie 2 02-09-2006 02:34 PM
FREEBSD5.3 platform: PHP setcookie() successful, but $uid = $_COOKIE['uid']; fail tclwp Programming 1 03-30-2005 08:05 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration