View previous topic :: View next topic |
Author |
Message |
Dud3! Tux's lil' helper
Joined: 19 Aug 2004 Posts: 93 Location: Boringville, Florida, USA
|
Posted: Tue Jan 23, 2007 9:43 pm Post subject: ssh_keygen says I don't exist and wants me to go away |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Jan 23, 2007 9:58 pm Post subject: |
|
|
try just 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 |
|
|
Dud3! Tux's lil' helper
Joined: 19 Aug 2004 Posts: 93 Location: Boringville, Florida, USA
|
Posted: Wed Jan 24, 2007 4:18 am Post subject: |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Jan 24, 2007 5:24 pm Post subject: |
|
|
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 |
|
|
Dud3! Tux's lil' helper
Joined: 19 Aug 2004 Posts: 93 Location: Boringville, Florida, USA
|
Posted: Sat Jan 27, 2007 6:16 am Post subject: |
|
|
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 |
|
|
|