|
su command (switch user id) crash on QNX 6.6
|
08/10/2014 3:29 PM
post111352
|
su command (switch user id) crash on QNX 6.6
Hello,
I am new to QNX, and have recently installed the QNX 6.6.0 Neutrino
RTOS runtime in VMware Player, from theVM-QNXSDP660-201402230339.iso
image (downloaded from this link
http://www.qnx.com/download/feature.html?programid=26217).
I have created a new user and set up passwords for both root and the
new user. However, I am having problems with the "su" command. I can
switch from root (logged in automatically) to the new user without a
problem:
# su new_user
(as root, I'm never prompted for the user's password). However, when
trying to switch from new_user to root:
$ su root
password:
After entering the password, the su command crashes wth the following error:
*** stack smashing detected ***: su terminated
Abort (core dumped)
Note 1: I have modified the setuid property of the su command with
# chmod u+s /bin/su
as described in the User's guie and in this post:
http://www.openqnx.com/phpbbforum/viewtopic.php?t=218
so the command now has the following permissions: -rwsr-xr-x
Note 2: If I remove the password for root, the crash does not hapen,
i.e., everything works fine.
Any help with this issue will be greately appreciated.
Best regards,
damjan
|
|
|