Mailinglist Archive: opensuse (3616 mails)

< Previous Next >
Re: [opensuse] su no longer working
  • From: Terry Eck <terry_eck@xxxxxxxxx>
  • Date: Thu, 22 Jan 2009 21:01:53 -0600
  • Message-id: <49793321.9080702@xxxxxxxxx>
Anders Johansson wrote:
On Friday 23 January 2009 02:30:51 Terry Eck wrote:

Notice that nothing happens. What might of happened to cause this?


Of you done anything special to your system when you "rearranged" it?

Could you run

strace -f df

when you of su:d to root, and post the output?

Anders

linux-dria:/ # strace -f df
execve("/home/eck/bin/df", ["df"], [/* 78 vars */]) = -1 ENOEXEC (Exec
format error)
dup(2) = 5
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f00000
_llseek(5, 0, 0xbf81e2fc, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(5, "strace: exec: Exec format error\n", 32strace: exec: Exec
format error
) = 32
close(5) = 0
munmap(0xb7f00000, 4096) = 0
exit_group(1) = ?
linux-dria:/ #

=============================================================================================
what appears to have solved the problem.
Delete files under /home/eck/bin
Don't know exactly how command files like df wound up under
/home/eck/bin but removing all the
files appears to have solved the problem. I wonder what else is lurking
on my system because of
the "rearrangement".

Anyway thank Andrens for you suggestion.


Terry

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >