Reset FTP user

Post Reply
trungmv
Member
Posts: 3
Joined: 05 Mar 2019 09:49

Reset FTP user

Post by trungmv »

Dear all experts,

Suddenly i cannot use password for FTP user to login my PABX.
I tried 3 FTP users but failed as below:
G:\>ftp 192.168.x.x
Connected to 192.168.x.x.
220 xa000000 FTP server () ready.
530 Please login with USER and PASS.
User (192.168.186.238:(none)): root
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
ftp> exit
Invalid command.
ftp> quit
221 Goodbye.
G:\>ftp 192.168.x.x
Connected to 192.168.x.x.
220 xa000000 FTP server () ready.
530 Please login with USER and PASS.
User (192.168.186.238:(none)): swinst
331 Password required for swinst.
Password:
530 Login incorrect.
Login failed.
ftp> quit
421 Timeout (900 seconds): closing control connection.
G:\>ftp 192.168.x.x
Connected to 192.168.x.x.
220 xa000000 FTP server () ready.
530 Please login with USER and PASS.
User (192.168.186.238:(none)): mtcl
331 Password required for mtcl.
Password:
530 Login incorrect.
Login failed.

Although, i still can use user/pass: mtcl/mtcl to logon my PABX.
Below is my PABX version and user mtcl logon sucessful.
Welcome to xa000000
Alcatel-Lucent OmniPCX Enterprise

login: mtcl
Password:
Last login: Thu Jan 12 15:01:23 from 192.168.187.156

Alcatel-Lucent OmniPCX Enterprise
standard installation last performed: 09-Jul-2001 08:35:51

# The role of the CPU is MAIN
Application software identity

R12.1-m2.300-19-vn-c83

Business identification: R12.1

Release:
DELIVERY m2.300
Patch identification: 19
Dynamic patch identification: none

Country: vn
Cpu: c83

ACD VERSION
release : 11
bug_fixing : 3
protocol_id : 92
version_dy_hr_stat : 12


I donot know and never change password for ftp user.
I used the user/pass such as:
root :
swinst
mtcl :

So, my question is how i can retrieve password for ftp user?

Any help is appreciated.

Thank you so much.
vad
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3807
Joined: 23 Sep 2004 06:47

Re: Reset FTP user

Post by vad »

For ftp in PABX used user "adfexc"
And why you want establish ftp connection under root account?
trungmv
Member
Posts: 3
Joined: 05 Mar 2019 09:49

Re: Reset FTP user

Post by trungmv »

Hi Vad,
Before, i rem still use user/password: mtcl/mtcl to login ftp.
But now i cannot although did not change any more.
I tried user/password: adfexc/adfexc but not successful
Any help is appreciate
Thanks,
Last edited by trungmv on 13 Jan 2023 01:20, edited 2 times in total.
haroun
Senior Member
Posts: 1355
Joined: 29 Mar 2010 11:09

Re: Reset FTP user

Post by haroun »

hi ftp user db corruption (not sure for your case) but see this topic how i solve it

https://www.alcatelunleashed.com/viewtopic.php?t=22812
trungmv
Member
Posts: 3
Joined: 05 Mar 2019 09:49

Re: Reset FTP user

Post by trungmv »

Hi Haroun,

My ftpaccess file like this one:

[root@xa000000 etc]# ls -al ftpaccess
-rw-r--r--. 1 root root 193 Nov 17 11:18 ftpaccess

and vi shown:
------------------Quote---------------------------------
# this file is used to configure module options
# for the bonding module. It is used by netadmin
# and mk_routes.
# do not edit it by hand
miimon=100
mode=1
passive ports 0.0.0.0/0 10000 10499
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"ftpaccess" 7L, 193C
-----------------------------------unquote-----------------------------

But i am not sure how is going wrong and also do not have another site to compare...

Any help is appreciated,

thank you,
Last edited by trungmv on 02 Feb 2023 04:44, edited 1 time in total.
haroun
Senior Member
Posts: 1355
Joined: 29 Mar 2010 11:09

Re: Reset FTP user

Post by haroun »

that's clear your ftpacces is corrupetd


-rw-r--r--. 1 root root 193 Nov 17 11:18 ftpaccess instead of

.-rw-rw-r-- 1 root root 520 Mar 27 2022 ftpaccess

from a r7.1 oxe
vi ftpaccess


(5)LFr_cpu20> vi ftpaccess
class all real,guest,anonymous *

email root@localhost

loginfails 5

readme README* login
readme README* cwd=*

message /welcome.msg login
message .message cwd=*

compress yes all
tar yes all
chmod no guest,anonymous
delete no guest,anonymous
overwrite no guest,anonymous
rename no guest,anonymous

log transfers anonymous,real inbound,outbound

shutdown /etc/shutmsg

"ftpaccess" 25L, 520C

and from r9.1
vi ftpaccess
class all real,guest,anonymous *

email root@localhost

loginfails 5

readme README* login
readme README* cwd=*

message /welcome.msg login
message .message cwd=*

compress yes all
tar yes all
chmod no guest,anonymous
delete no guest,anonymous
overwrite no guest,anonymous
rename no guest,anonymous

log transfers anonymous,real inbound,outbound

shutdown /etc/shutmsg
"ftpaccess" [readonly] 25 lines, 520 characters

you should get some tools to get acces to oxe amd make file transfert or, make or revers ftp acces from your oxe to your pc or ftp server and download the good ftpacces
pm me if you want the file
trungmv
Member
Posts: 3
Joined: 05 Mar 2019 09:49

Re: Reset FTP user

Post by trungmv »

Hi Haroun,

Yes sure, i want to that file but i cannot find pm function to send message to you in this platform.

And wondering about how to access the OXE during ftp is error i did not know other tool. Please kindly advice me.

Last, a tons of thank you.

Best Regards,
haroun
Senior Member
Posts: 1355
Joined: 29 Mar 2010 11:09

Re: Reset FTP user

Post by haroun »

make reverse ftp from oxe to any ftp server
Post Reply

Return to “Linux tricks”