Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PAM snafu'ed?
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
darkwrath
n00b
n00b


Joined: 07 Oct 2002
Posts: 7

PostPosted: Tue Feb 11, 2003 5:31 pm    Post subject: PAM snafu'ed? Reply with quote

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
View user's profile Send private message
darkwrath
n00b
n00b


Joined: 07 Oct 2002
Posts: 7

PostPosted: Tue Feb 11, 2003 6:51 pm    Post subject: Seems I've fxied it Reply with quote

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
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