Re: [gentoo-user] Can't login with a normal user

2007-06-20 Thread Abraham Marín Pérez
4) The file system is mounted noexec. (So, make sure that you filesystem is currently mounted exec.) As stated earlier, there is no noexec flag: /dev/sda2 on / type ext3 (rw,noatime) Just blind-shooting but still here are my 0.02$... could it be possible that you

Re: [gentoo-user] Can't login with a normal user

2007-06-20 Thread Abraham Marín Pérez
Abraham Marín Pérez escribió: 4) The file system is mounted noexec. (So, make sure that you filesystem is currently mounted exec.) As stated earlier, there is no noexec flag: /dev/sda2 on / type ext3 (rw,noatime) Just blind-shooting but still here are my 0.02$... could it

[gentoo-user] Can't login with a normal user

2007-06-19 Thread Jan-Hendrik Zab
Hey, for a few days now I'm unable to log in to my PC[0] with a normal user (root works just fine). The following error is printed: /bin/zsh: Permission denied The same happens when I try it with a user that has /bin/bash as the default shell. The permissions for both files are:

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Abraham Marín Pérez
Jan-Hendrik Zab escribió: Hey, for a few days now I'm unable to log in to my PC[0] with a normal user (root works just fine). The following error is printed: /bin/zsh: Permission denied The same happens when I try it with a user that has /bin/bash as the default shell. The

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Hans-Werner Hilse
Hi, On Tue, 19 Jun 2007 14:53:44 +0200 Jan-Hendrik Zab [EMAIL PROTECTED] wrote: Hey, for a few days now I'm unable to log in to my PC[0] with a normal user (root works just fine). The following error is printed: /bin/zsh: Permission denied - noexec partition (unlikely, since

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Jan-Hendrik Zab
On Tue, 19 Jun 2007 15:20:31 +0200 Hans-Werner Hilse [EMAIL PROTECTED] wrote: - noexec partition (unlikely, since more or less nothing would work), or - PAM getting angry, maybe because your /etc/shells doesn't contain the shells? If it's none of these, check the system log. PAM should

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Dirk Heinrichs
Hi, Did you try to fsck the / fs? -- Sig. should be separated with -- , not --. signature.asc Description: This is a digitally signed message part.

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Jan-Hendrik Zab
On Tue, 19 Jun 2007 17:58:17 +0200 Dirk Heinrichs [EMAIL PROTECTED] wrote: Did you try to fsck the / fs? Yes, I did. There were no problems at all. -- Sig. should be separated with -- , not --. Claws appends that automatically ('-- ') and it's not only the right string but also displayed

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Hans-Werner Hilse
Hi, On Tue, 19 Jun 2007 16:39:19 +0200 Jan-Hendrik Zab [EMAIL PROTECTED] wrote: The permissions of /bin seem to be okay: drwxr-xr-x 2 root root 4096 2007-06-19 14:53 bin/ Hm, and / ? I think PAM is alright, the log messages you posted indicate that a session _was_ opened, so it

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Dirk Heinrichs
Am Dienstag, 19. Juni 2007 schrieb Jan-Hendrik Zab: On Tue, 19 Jun 2007 17:58:17 +0200 Dirk Heinrichs [EMAIL PROTECTED] wrote: Did you try to fsck the / fs? Yes, I did. There were no problems at all. Would have been too easy :-) Claws appends that automatically ('-- ') and it's not only

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Jan-Hendrik Zab
On Tue, 19 Jun 2007 18:34:15 +0200 Hans-Werner Hilse [EMAIL PROTECTED] wrote: The permissions of /bin seem to be okay: drwxr-xr-x 2 root root 4096 2007-06-19 14:53 bin/ Hm, and / ? I think PAM is alright, the log messages you posted indicate that a session _was_ opened, so it

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Pongracz Istvan
Hi, My friend had a problem, similar to yours. He could not login as normal user. In his system something happened and the permission of /usr/bin /bin and in some other directories changed to dr-x-- Restoring their permissions to drwxr-xr-x sovled his problem. I do not know, this could

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 12:27:10 Jan-Hendrik Zab wrote: 'strace -f su - jonsnow': [pid 4117] execve(/bin/zsh, [-su], [/* 6 vars */]) = -1 EACCES (Permission denied) Note that the trace clearly shows that /bin/zsh isn't returning an error code (in which case pid 4117 would immediately die)

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Jan-Hendrik Zab
On Tue, 19 Jun 2007 13:17:57 -0500 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: [snip] According to http://www.die.net/doc/linux/man/man2/execve.2.html EACCES is only returned by this function for a few reasons: 1) Search permission is denied on a component of the path prefix of filename

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 14:03:20 Jan-Hendrik Zab wrote: I really dislike this problem :D /me agrees. My locally installed man page doesn't provide any other explanations for that return code, so I'm still betting it's one of those things. However, someone more skilled than I might be able to

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Jan-Hendrik Zab wrote: On my system: $ ls -ld / drwxr-xr-x 23 root root 664 2007-06-11 20:27 / That's due to the ZSH settings/command. So, we are sure that /bin/zsh is not being run from a chrooted environment or something? - -- Arturo

Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Jan-Hendrik Zab
On Tue, 19 Jun 2007 14:30:39 -0500 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: My locally installed man page doesn't provide any other explanations for that return code, so I'm still betting it's one of those things. However, someone more skilled than I might be able to spend some time