"su -" in terminal hangs

Cameron Simpson cs at zip.com.au
Wed Aug 7 23:48:02 UTC 2013


On 07Aug2013 14:01, steven stern <subscribed-lists at sterndata.com> wrote:
| On 08/07/2013 01:56 PM, Suvayu Ali wrote:
| > On Wed, Aug 07, 2013 at 05:33:41PM +0200, j.halifax2 at seznam.cz wrote:
| >> Also "su" only (without "-") was hanging. The /root was 550 as before.
| > 
| > Shouldn't it be 770?
| > 
| > Another thing you could check is entries in /var/log/secure.  If it is a
| > pam problem, it should show up there.
| > 
| $ ls -ld /root
| dr-xr-x---. 15 root root 4096 Aug  4 09:36 /root
| 
| ]$ ls -ld /
| dr-xr-xr-x. 18 root root 4096 Aug  2 08:55 /

Nonetheless, it should not hang.

Where does an "strace -f su" stop? It may abort early anyway (strace
doesn't go across an suexec execution) but if the problem is earlier
then it may tell you something.

Also, can you run an ordinary login as root, either at a console
or by running "login"?
-- 
Cameron Simpson <cs at zip.com.au>


More information about the users mailing list