Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-02-2004, 09:54 AM   #1
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15

Hello ..
after upgradeing from kde(RedHat~9) to kde(fedora)
/bin/su wont work correctly when switching from a
user to the root...
so i #chmod 0641 /bin/su it worked just the first step
but wont accept the password at all (i'm writeing it correct)
anyOne has an idea???..
i changed to 0641 because it keeps saying permission denied when i'm trying su - ..So when i changed it giveing the user X permission it execute the program but keep saying password incorrect i also changed the proG
to 0755 before i post the question ..the same

Old 05-02-2004, 10:58 AM   #2
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
This is very odd, you shouldn't need to change /bin/su permissions. Also, 0641 is wrong, you are setting permissions to:


This would basically turn any file 'unexecutable' (owner can read/write, group can read and olny others can execute -- but not read, which ends up turning executable flag useless).

The right permissions should be 4755:

~ ls -l /bin/su
-rwsr-xr-x 1 root root 95957 Mar 3 12:47 /bin/su*

Please note the extra '4': it means you're turning set user ID on.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 11:30 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 11:42 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 03:30 AM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 10:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration