Announcement

Collapse
No announcement yet.

setup ftp

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    setup ftp

    Noobee to U/Ku/buntu....Installed today.  Installation went smooth.  Network was already up and going with dynamic ip address on first boot.  A few questions about how this works....

    1.  It looks as if ftp is not running since trying to ftp into it rejects the connection request.  How do I check to see if ftp is installed, and configure it to start automatically.

    2.  How do I look at services.  a command like "service smb status" just doesn't work, it returns "command not found".  Even "sudo service smb status" asks me for the password, (for root I suppose) which is then rejected when I type it in.  I think I read during installation that the root account is disabled.  Anyway, not sure how to check services status or start and stop services.

    3. When I issue any command with "sudo" in front, I am asked for a password.  What password does it want ?  It doesn't accept my own password or the password for root either.  For example, the command "sudo ifconfig" asks me for a password, which doesn't work no matter which one I enter, but the command "ifconfig" without the sudo works.  How do you know which commands require sudo, and what is the password ?

    Sorry if these sound like dumb questions but this is quite a bit different from distros like Mandriva or RH that I am used to.  Thanks for any suggestions anyone may have for me.

    MIKE

    #2
    Re: setup ftp

    Originally posted by codeventure
    1. It looks as if ftp is not running since trying to ftp into it rejects the connection request. How do I check to see if ftp is installed, and configure it to start automatically.
    IIRC, an FTP server is not installed by default. Look at https://help.ubuntu.com/community/FtpServer for details on setting one up.
    2. How do I look at services. a command like "service smb status" just doesn't work, it returns "command not found". Even "sudo service smb status" asks me for the password, (for root I suppose) which is then rejected when I type it in. I think I read during installation that the root account is disabled. Anyway, not sure how to check services status or start and stop services.
    Checking services is an art in itself. You can try
    Code:
    ps aux
    to see everything that is running. There is also a file called /etc/services that lists some of them, and services are usually started from /etc/init.d
    3. When I issue any command with "sudo" in front, I am asked for a password. What password does it want ? It doesn't accept my own password or the password for root either. For example, the command "sudo ifconfig" asks me for a password, which doesn't work no matter which one I enter, but the command "ifconfig" without the sudo works. How do you know which commands require sudo, and what is the password ?
    sudo wants your password.

    Comment


      #3
      Re: setup ftp

      Originally posted by TheDarkSavant
      Checking services is an art in itself. You can try
      Code:
      ps aux
      to see everything that is running. There is also a file called /etc/services that lists some of them, and services are usually started from /etc/init.d
      Here's a shortcut to see all running processes:

      <Ctrl><Esc>

      Comment

      Working...
      X