The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Shell Access To Wrong User!!

Discussion in 'General Discussion' started by DaVeKH, Jan 26, 2004.

  1. DaVeKH

    DaVeKH Member

    Joined:
    Apr 4, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Whenever my customers log into SSH they get the shell account of another user, so say they log in under the username "fred" they might get the home directory of the username "tim" in shell access. Anyone got any idea what is going on? I recently restored backups of all the accounts.
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Check the bash profiles for each account, something might be mixed up. Also note - it's generally not smart security wise to give anyone SSH access, even limited SSH access.
     
  3. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    This one won't be in .bash_profile most likely but in /etc/passwd. Take a look at the usernames and their reported home directories. .bash_profile won't really touch that one.
     
Loading...

Share This Page