My su
does not ask for password. When I run su
it simply logs me in to root
. I tried su - root
then it asks for password. Now, because of this kdesu
runs applications with root rights without password. I tried replacing su
with the following script
#!/bin/bash
/root/./su - root
exit
I moved my su into /root
.
Now kdesu
asks for a password but hangs as soon as I hit Enter after typing the password.
I'm using Arch Linux.
/etc/pam.d/su
or any of the other authentication configs?/etc/pam.d/su
found the problem and fixed it!