Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh_keygen says I don't exist and wants me to go away
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dud3!
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 93
Location: Boringville, Florida, USA

PostPosted: Tue Jan 23, 2007 9:43 pm    Post subject: ssh_keygen says I don't exist and wants me to go away Reply with quote

I've been poking around securing stuff here and there (you can see how confident I am in my knowledge of Linux security) and I'm not sure if this is from something I did or not.

When I try and do this:

Code:
/usr/bin/ssh-keygen -t dsa


as a regular user I get this:

Code:
You don't exist, go away!


If I do it as root it works fine, but I need a key for my user account. Right?

Any suggestions on what's doing this?
_________________
"There's no problem so large it can't be solved by killing the user off, deleting their files, closing their account and reporting their REAL earnings to the IRS"
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Tue Jan 23, 2007 9:58 pm    Post subject: Reply with quote

try just
Code:
ssh-keygen
1st
there has been reported an issue with 64bit systems being busy and reporting that way.

Quote:
Invoking ssh-keygen from the busybox shell on x86_64
gives the infamous "You don't exist, go away!" error.

A strace shows that it's failing on a getpwuid() call.
It looks like it needs the shared libraries
/lib64/libnss_* to get user information. Copying a
working /lib64/libnss_files.so.2 into boel_binaries
fixed the problem, and allowed ssh-keygen and sshd to
run correctly.

_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
Dud3!
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 93
Location: Boringville, Florida, USA

PostPosted: Wed Jan 24, 2007 4:18 am    Post subject: Reply with quote

Nope. Same thing. I'm running an Athlon XP also, so no 64 bit stuff here.
_________________
"There's no problem so large it can't be solved by killing the user off, deleting their files, closing their account and reporting their REAL earnings to the IRS"
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Wed Jan 24, 2007 5:24 pm    Post subject: Reply with quote

have you changed your username at all and is your username in /etc/passwd and matching your /home/username dir?
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
Dud3!
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 93
Location: Boringville, Florida, USA

PostPosted: Sat Jan 27, 2007 6:16 am    Post subject: Reply with quote

Thanks for that, because that reminded me that I changed the permissions on /etc/passwd to 0700. I changed it back and that fixed it.
_________________
"There's no problem so large it can't be solved by killing the user off, deleting their files, closing their account and reporting their REAL earnings to the IRS"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum