Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User mikailyuksel's Avatar
    Join Date
    Sep 2006
    Posts
    1

    Default /bin/su: Permission denied

    hi,

    i have got a problem.

    please help me...


    i am logining in putty.

    port: 25

    login as: user
    user@www.domain.net's password:
    Last login: Sun Oct 8 13:59:10 2006 from 88.226.38.3
    user@domain.net [~]# su
    -bash: /bin/su: Permission denied

    how will i do?

  2. #2
    Member
    Join Date
    Jul 2005
    Posts
    23

    Default

    Have You tryed su -
    That did the trick for me.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by mikailyuksel
    port: 25
    Port 25 is the default port used by an email client to connect an email server. Are you using Port 25 for shell?
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  4. #4
    Member
    Join Date
    Oct 2006
    Posts
    47

    Default

    well if you want to just set the permissions of /bin/su
    try this
    chmod 4750 /bin/su
    chown root:wheel /bin/su
    Also note: ssh standard port is 22 (until you have changed it)
    You can confirm the same by checking /etc/ssh/sshd_config
    .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
    Level Support - Technical Support for WebHosts

Similar Threads & Tags
Similar threads

  1. /bin/sh: /usr/bin/wget: Permission denied
    By capoinfra in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-21-2010, 09:21 AM
  2. fixeverything, /bin/pwd: failed to stat `.': Permission denied
    By fedlerner in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-07-2008, 12:48 PM
  3. /bin/pwd: failed to stat `.': Permission denied
    By speckados in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 01-30-2008, 02:25 PM
  4. /bin/sh: /root/chkrootkit-0.46a/chkrootkit: Permission denied
    By jsimon in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-05-2006, 02:04 AM
  5. /bin/ls: .: Permission denied error for shell
    By dom182 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-26-2004, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube