- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ftp and sudo problem in redhat Linux server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 01:25 AM
тАО01-12-2009 01:25 AM
ftp and sudo problem in redhat Linux server
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 !!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 02:16 AM
тАО01-12-2009 02:16 AM
Re: ftp and sudo problem in redhat Linux server
Have you changed anything in your pam.d configuration?
I'm no master at it, but there's loads of useful information on google.
Best regards
Fredrik Eriksson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 02:24 AM
тАО01-14-2009 02:24 AM
Re: ftp and sudo problem in redhat Linux server
any idea is welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 02:33 AM
тАО01-14-2009 02:33 AM
Re: ftp and sudo problem in redhat Linux server
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 02:34 AM
тАО01-14-2009 02:34 AM
Re: ftp and sudo problem in redhat Linux server
kindly let me know how to do it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 07:29 AM
тАО01-14-2009 07:29 AM
Re: ftp and sudo problem in redhat Linux server
are you able to login with ib_prasa via ssh?
In fact, both problems seem like you have some problem with PAM. I've checked right now on my Centos system - vsftpd works right out of the box.
what is the output of "rpm -qV pam"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 01:25 AM
тАО01-21-2009 01:25 AM
Re: ftp and sudo problem in redhat Linux server
>are you able to login with ib_prasa via ssh?
no.
>what is the output of "rpm -qV pam"?
[ib_prasa@DLidps01 ib_prasa]$ rpm -qV pam
S.5....T c /etc/pam.d/system-auth
S.?....T c /etc/security/opasswd
..?..... /lib/security/pam_filter/upperLOWER
..?..... /sbin/pam_timestamp_check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 01:36 AM
тАО01-21-2009 01:36 AM
Re: ftp and sudo problem in redhat Linux server
Can you try to add new user and test ssh and ftp login?
2) as for your PAM config - it seems that someone changed your PAM config.
You can either replace /etc/pam.d/system-auth with the vanilla one or use authconfig for checking/fixing your config.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 12:05 AM
тАО01-22-2009 12:05 AM
Re: ftp and sudo problem in redhat Linux server
i am not.not even from root login
see the message i get..
[root@DLidps01 root]# su - ib_prasa
su: incorrect password
You have new mail in /var/spool/mail/root
>as for your PAM config - it seems that someone changed your PAM config.
?
well, please let me know hot to check it.
> /etc/pam.d/system-auth
plz check the file
[root@DLidps01 root]# more /etc/pam.d/system-auth
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_unix.so likeauth nullok
auth required /lib/security/pam_deny.so
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/security/$FILENAMEonerr=succeed
auth required /lib/security/pam_tally.so no_magic_root
account required /lib/security/pam_tally.so deny=3 reset no_magic_root
account required /lib/security/pam_unix.so
password required /lib/security/pam_cracklib.so retry=3 minlen=8 dcredit=0 ucredit=0 lcredit=0 ocredit=0 type=
password required /lib/security/pam_unix.so remember=4 use_authtok md5 shadow
password sufficient /lib/security/pam_unix.so remember=4 use_authtok md5 shadow
password required /lib/security/pam_deny.so
session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 03:38 AM
тАО01-22-2009 03:38 AM
Re: ftp and sudo problem in redhat Linux server
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
account required pam_unix.so
account sufficient pam_succeed_if.so uid < 500 quiet
account required pam_permit.so
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so