ftp and sudo problem in redhat Linux server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prasadshete
    New Member
    • Feb 2007
    • 19

    #1

    ftp and sudo problem in redhat Linux server

    Dear all,
    my system is
    $ uname -a
    Linux DLidps01 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux

    1.Now, i my a/c has sudo to root access. i do $sudo bash and enter into the root. But nowadays i am not able to do so. here is the error message..

    [ib_prasa@DLidps 01 ib_prasa]$ sudo bash
    Password:
    sudo: pam_acct_mgmt: 7
    Sorry, try again.
    Password:


    2. in the same server, i want to enable the FTP. i downloaded the rpm package and installed it.(But i have not reboot it yet being in production)

    THis is the error message:


    C:\Documents and Settings\Admini strator>ftp 10.4.15.35
    Connected to 10.4.15.35.
    220 (vsFTPd 1.2.1)
    User (10.4.15.35:(no ne)): ib_prasa
    331 Please specify the password.
    Password:
    530 Login incorrect.
    Login failed.
    ftp>


    Help !!!!
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Hi prasadshete!

    First of all, the sudo problem. Have you tried
    Code:
    sudo -i
    instead of sudo bash? That should have a similar effect and might just work.
    Otherwise, you can use
    Code:
    sudo -l
    (that being a lower case "L") to see, which commands you're allowed to use. If for some reason it tells you, that you do not have any sudo rights, contact your system administrator and ask him/her to fix it.

    About your FTP problem, you have probably just not started the ftp daemon yet. This should normally happen automatically when you restart the machine, but if you don't want to (or can't) do that, you'll have to start that daemon manually. It might just be the command
    Code:
    ftpd
    but for more information, we'll have to know, which FTP Server you installed.

    Greetings,
    Nepomuk

    Comment

    Working...