View previous topic :: View next topic |
Author |
Message |
darkwrath n00b
Joined: 07 Oct 2002 Posts: 7
|
Posted: Tue Feb 11, 2003 5:31 pm Post subject: PAM snafu'ed? |
|
|
After having this problem
https://forums.gentoo.org/viewtopic.php?t=33891&highlight=cat+proc+mounts+such+file+directory
I followed the instructions to get a bootable Gentoo again, fixed my fstab, etc..
I tried to restore my PAM user list, this is where I think I mucked things up. Now I can't login via ssh. I get "Cannot find account for uid XXXX" whenever anyone except for root tries to login via ssh, proftpd gives me a 530 Login incorrect.
POP3 works fine, but nothing else that requires authentication.
I've re-emerged pam, pam-login, shadow to no avail.
I've removed the accounts and recreated them, also no go.
I'm at a complete loss, I've searched these forums and google all night and all morning and I can't find the problem.
Please help.
B. |
|
Back to top |
|
|
darkwrath n00b
Joined: 07 Oct 2002 Posts: 7
|
Posted: Tue Feb 11, 2003 6:51 pm Post subject: Seems I've fxied it |
|
|
like so.
Code: | emerge baselayout
nano -w /etc/fstab # Fix your partitions
nano -w /etc/modules.autoload #re add your network card and other hardware modules
nano -w /etc/conf.d/net #fix your network config
nano -w /etc/hosts #fix your hosts
emerge openssh
emerge proftpd
emerge postfix |
readd users
fix ownerships
etc..
Though I did have to fix the permissions for the postfix directories, that's easy using postfix check.
Anything I'm missing?
I still get some errors at boot,
/sbin/runscript.sh: line 15: server: command not found
what would cause that? |
|
Back to top |
|
|
|
|
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
|
|