Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

New SSH user

Discussion in 'General Discussion' started by ste@kmh-hosting, Jun 8, 2005.

  1. ste@kmh-hosting

    Joined:
    Apr 4, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    hi,


    I want to know how to create a SSH user limmited to just /shoutcast?


    thanks


    ste
     
    #1 ste@kmh-hosting, Jun 8, 2005
    Last edited: Jun 8, 2005
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    Create a user and set his home directory to /shoutcast.
     
  3. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    Hello,

    Try this command

    useradd -d /shoutcast username

    It will help you ;)
     
  4. ste@kmh-hosting

    Joined:
    Apr 4, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    thanks but

    how do i set its password? if it defaultly blank?
     
  5. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    Hello,

    Run the following command
    ------------------------------------
    passwd <username>
    ------------------------------------
     
  6. ste@kmh-hosting

    Joined:
    Apr 4, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    thanks

    thanks you lot u really helped me!
     
Loading...

Share This Page