Connecting Tech Pros Worldwide Help | Site Map

ftp and sudo problem in redhat Linux server

Newbie
 
Join Date: Feb 2007
Location: Delhi India
Posts: 20
#1: Jan 12 '09
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@DLidps01 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\Administrator>ftp 10.4.15.35
Connected to 10.4.15.35.
220 (vsFTPd 1.2.1)
User (10.4.15.35:(none)): ib_prasa
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>


Help !!!!
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#2: Jan 13 '09

re: ftp and sudo problem in redhat Linux server


Hi prasadshete!

First of all, the sudo problem. Have you tried
Expand|Select|Wrap|Line Numbers
  1. sudo -i
instead of sudo bash? That should have a similar effect and might just work.
Otherwise, you can use
Expand|Select|Wrap|Line Numbers
  1. 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
Expand|Select|Wrap|Line Numbers
  1. ftpd
but for more information, we'll have to know, which FTP Server you installed.

Greetings,
Nepomuk
Reply