what is my ftp user and password: ~ sudo pure-ftpd & ✔ took 22s at…
- User
what is my ftp user and password: ~ sudo pure-ftpd & ✔ took 22s at 17:31:16
[1] 12674
~ lsof -i :21 ✔ at 17:31:18
~ lsof -i :21 1 ✘ at 17:31:25
~ sudo killall pure-ftpd 1 ✘ at 17:31:27
[1] + 12674 done sudo pure-ftpd
~ sudo pure-ftpd & ✔ at 17:31:40
[1] 12772
~ lsof -i :21 ✔ at 17:31:46
~ sudo lsof -i -P -n | grep LISTEN 1 ✘ at 17:31:51
launchd 1 root 18u IPv4 0x6e7ed04a277da4b 0t0 TCP *:5959 (LISTEN) rapportd 434 meyt 8u IPv4 0x95785f1a4dd9a974 0t0 TCP *:49152 (LISTEN) rapportd 434 meyt 9u IPv6 0x1adeb220cd886413 0t0 TCP *:49152 (LISTEN) ControlCe 456 meyt 8u IPv4 0x3fb3e89f9fa55b5 0t0 TCP *:7000 (LISTEN) ControlCe 456 meyt 9u IPv6 0xa8d43a2d742ca9a2 0t0 TCP *:7000 (LISTEN) ControlCe 456 meyt 10u IPv4 0x8e35b14f3c77f45c 0t0 TCP *:5000 (LISTEN) ControlCe 456 meyt 11u IPv6 0x4b924c2104ae1ac1 0t0 TCP *:5000 (LISTEN) logioptio 552 meyt 17u IPv4 0xe8a16b52370ae55d 0t0 TCP *:59869 (LISTEN) limactl 724 meyt 9u IPv4 0x16b04264ca59df0b 0t0 TCP 127.0.0.1:49165 (LISTEN) ssh 801 meyt 18u IPv4 0x5944f59c3e6885a2 0t0 TCP *:8081 (LISTEN) ssh 801 meyt 19u IPv4 0x89a5f148d2ed9817 0t0 TCP *:4000 (LISTEN) ssh 801 meyt 20u IPv4 0x2d89588d3def5ed9 0t0 TCP *:3000 (LISTEN) ssh 801 meyt 21u IPv4 0x285e14df5542cbb1 0t0 TCP *:27017 (LISTEN) ssh 801 meyt 22u IPv4 0xa309ae5bcbb0959d 0t0 TCP *:6379 (LISTEN) ssh 801 meyt 26u IPv4 0xacd7181eb1f7f82e 0t0 TCP *:9229 (LISTEN) language_ 1344 meyt 11u IPv4 0x9fd62cff2b0756f4 0t0 TCP 127.0.0.1:49184 (LISTEN) language_ 2593 meyt 11u IPv4 0x6626daccd0cf6049 0t0 TCP 127.0.0.1:49263 (LISTEN) language_ 3959 meyt 11u IPv4 0xccc9bda41d2b4e0e 0t0 TCP 127.0.0.1:49270 (LISTEN) language_ 5821 meyt 9u IPv4 0xb4dfd42601dcec10 0t0 TCP 127.0.0.1:49497 (LISTEN) language_ 6436 meyt 9u IPv4 0x574122702ff39f71 0t0 TCP 127.0.0.1:49512 (LISTEN) language_ 7466 meyt 9u IPv4 0x5881f5866f4eb6b 0t0 TCP 127.0.0.1:49536 (LISTEN) language_ 9083 meyt 9u IPv4 0x223b8c0adb2d2030 0t0 TCP 127.0.0.1:49994 (LISTEN) language_ 9762 meyt 9u IPv4 0xfaeb9ef25ba85f0c 0t0 TCP 127.0.0.1:50011 (LISTEN) language_ 10735 meyt 9u IPv4 0xc6738915e14ab4f1 0t0 TCP 127.0.0.1:50203 (LISTEN) language_ 11614 meyt 9u IPv4 0x259f3a6f7366fcb2 0t0 TCP 127.0.0.1:50271 (LISTEN) pure-ftpd 12776 root 3u IPv4 0x3671c58d8ca0217f 0t0 TCP *:21 (LISTEN) pure-ftpd 12776 root 4u IPv6 0xedd9aed0ce36274 0t0 TCP *:21 (LISTEN)
~ cat /etc/passwd ✔ at 17:31:59
User Database
Note that this file is consulted directly only when the system is running
in single-user mode. At other times this information is provided by
Open Directory.
See the opendirectoryd(8) man page for additional information about
Open Directory.
nobody::-2:-2:Unprivileged User:/var/empty:/usr/bin/false root::0:0:System Administrator:/var/root:/bin/sh daemon::1:1:System Services:/var/root:/usr/bin/false _uucp::4:4:Unix to Unix Copy Protocol:/var/spool/uucp:/usr/sbin/uucico _taskgated::13:13:Task Gate Daemon:/var/empty:/usr/bin/false _networkd::24:24:Network Services:/var/networkd:/usr/bin/false _installassistant::25:25:Install Assistant:/var/empty:/usr/bin/false _lp::26:26:Printing Services:/var/spool/cups:/usr/bin/false _postfix::27:27:Postfix Mail Server:/var/spool/postfix:/usr/bin/false _scsd::31:31:Service Configuration Service:/var/empty:/usr/bin/false _ces::32:32:Certificate Enrollment Service:/var/empty:/usr/bin/false _appstore::33:33:Mac App Store Service:/var/db/appstore:/usr/bin/false _mcxalr::54:54:MCX AppLaunch:/var/empty:/usr/bin/false _appleevents::55:55:AppleEvents Daemon:/var/empty:/usr/bin/false _geod::56:56:Geo Services Daemon:/var/db/geod:/usr/bin/false _devdocs::59:59:Developer Documentation:/var/empty:/usr/bin/false _sandbox::60:60:Seatbelt:/var/empty:/usr/bin/false _mdnsresponder::65:65:mDNSResponder:/var/empty:/usr/bin/false _ard::67:67:Apple Remote Desktop:/var/empty:/usr/bin/false _www::70:70:World Wide Web Server:/Library/WebServer:/usr/bin/false _eppc::71:71:Apple Events User:/var/empty:/usr/bin/false _cvs::72:72:CVS Server:/var/empty:/usr/bin/false _svn::73:73:SVN Server:/var/empty:/usr/bin/false _mysql::74:74:MySQL Server:/var/empty:/usr/bin/false _sshd::75:75:sshd Privilege separation:/var/empty:/usr/bin/false _qtss::76:76:QuickTime Streaming Server:/var/empty:/usr/bin/false _cyrus::77:6:Cyrus Administrator:/var/imap:/usr/bin/false _mailman::78:78:Mailman List Server:/var/empty:/usr/bin/false _appserver::79:79:Application Server:/var/empty:/usr/bin/false _clamav::82:82:ClamAV Daemon:/var/virusmails:/usr/bin/false _amavisd::83:83:AMaViS Daemon:/var/virusmails:/usr/bin/false _jabber::84:84:Jabber XMPP Server:/var/empty:/usr/bin/false _appowner::87:87:Application Owner:/var/empty:/usr/bin/false _windowserver::88:88:WindowServer:/var/empty:/usr/bin/false _spotlight::89:89:Spotlight:/var/empty:/usr/bin/false _tokend::91:91:Token Daemon:/var/empty:/usr/bin/false _securityagent::92:92:SecurityAgent:/var/db/securityagent:/usr/bin/false _calendar::93:93:Calendar:/var/empty:/usr/bin/false _teamsserver::94:94:TeamsServer:/var/teamsserver:/usr/bin/false _update_sharing::95:-2:Update Sharing:/var/empty:/usr/bin/false _installer::96:-2:Installer:/var/empty:/usr/bin/false _atsserver::97:97:ATS Server:/var/empty:/usr/bin/false _ftp::98:-2:FTP Daemon:/var/empty:/usr/bin/false _unknown::99:99:Unknown User:/var/empty:/usr/bin/false _softwareupdate::200:200:Software Update Service:/var/db/softwareupdate:/usr/bin/false _coreaudiod::202:202:Core Audio Daemon:/var/empty:/usr/bin/false _screensaver::203:203:Screensaver:/var/empty:/usr/bin/false _locationd::205:205:Location Daemon:/var/db/locationd:/usr/bin/false _trustevaluationagent::208:208:Trust Evaluation Agent:/var/empty:/usr/bin/false _timezone::210:210:AutoTimeZoneDaemon:/var/empty:/usr/bin/false _lda::211:211:Local Delivery Agent:/var/empty:/usr/bin/false _cvmsroot::212:212:CVMS Root:/var/empty:/usr/bin/false _usbmuxd::213:213:iPhone OS Device Helper:/var/db/lockdown:/usr/bin/false _dovecot::214:6:Dovecot Administrator:/var/empty:/usr/bin/false _dpaudio::215:215:DP Audio:/var/empty:/usr/bin/false _postgres::216:216:PostgreSQL Server:/var/empty:/usr/bin/false _krbtgt::217:-2:Kerberos Ticket Granting Ticket:/var/empty:/usr/bin/false _kadmin_admin::218:-2:Kerberos Admin Service:/var/empty:/usr/bin/false _kadmin_changepw::219:-2:Kerberos Change Password Service:/var/empty:/usr/bin/false _devicemgr::220:220:Device Management Server:/var/empty:/usr/bin/false _webauthserver::221:221:Web Auth Server:/var/empty:/usr/bin/false _netbios::222:222:NetBIOS:/var/empty:/usr/bin/false _warmd::224:224:Warm Daemon:/var/empty:/usr/bin/false _dovenull::227:227:Dovecot Authentication:/var/empty:/usr/bin/false _netstatistics::228:228:Network Statistics Daemon:/var/empty:/usr/bin/false _avbdeviced::229:-2:Ethernet AVB Device Daemon:/var/empty:/usr/bin/false _krb_krbtgt::230:-2:Open Directory Kerberos Ticket Granting Ticket:/var/empty:/usr/bin/false _krb_kadmin::231:-2:Open Directory Kerberos Admin Service:/var/empty:/usr/bin/false _krb_changepw::232:-2:Open Directory Kerberos Change Password Service:/var/empty:/usr/bin/false _krb_kerberos::233:-2:Open Directory Kerberos:/var/empty:/usr/bin/false _krb_anonymous::234:-2:Open Directory Kerberos Anonymous:/var/empty:/usr/bin/false _assetcache::235:235:Asset Cache Service:/var/empty:/usr/bin/false _coremediaiod::236:236:Core Media IO Daemon:/var/empty:/usr/bin/false _launchservicesd::239:239:_launchservicesd:/var/empty:/usr/bin/false _iconservices::240:240:IconServices:/var/empty:/usr/bin/false _distnote::241:241:DistNote:/var/empty:/usr/bin/false _nsurlsessiond::242:242:NSURLSession Daemon:/var/db/nsurlsessiond:/usr/bin/false _displaypolicyd::244:244:Display Policy Daemon:/var/empty:/usr/bin/false _astris::245:245:Astris Services:/var/db/astris:/usr/bin/false _krbfast::246:-2:Kerberos FAST Account:/var/empty:/usr/bin/false _gamecontrollerd::247:247:Game Controller Daemon:/var/empty:/usr/bin/false _mbsetupuser::248:248:Setup User:/var/setup:/bin/bash _ondemand::249:249:On Demand Resource Daemon:/var/db/ondemand:/usr/bin/false _xserverdocs::251:251:macOS Server Documents Service:/var/empty:/usr/bin/false _wwwproxy::252:252:WWW Proxy:/var/empty:/usr/bin/false _mobileasset::253:253:MobileAsset User:/var/ma:/usr/bin/false _findmydevice::254:254:Find My Device Daemon:/var/db/findmydevice:/usr/bin/false _datadetectors::257:257:DataDetectors:/var/db/datadetectors:/usr/bin/false _captiveagent::258:258:captiveagent:/var/empty:/usr/bin/false _ctkd::259:259:ctkd Account:/var/empty:/usr/bin/false _applepay::260:260:applepay Account:/var/db/applepay:/usr/bin/false _hidd::261:261:HID Service User:/var/db/hidd:/usr/bin/false _cmiodalassistants::262:262:CoreMedia IO Assistants User:/var/db/cmiodalassistants:/usr/bin/false _analyticsd::263:263:Analytics Daemon:/var/db/analyticsd:/usr/bin/false _fpsd::265:265:FPS Daemon:/var/db/fpsd:/usr/bin/false _timed::266:266:Time Sync Daemon:/var/db/timed:/usr/bin/false _nearbyd::268:268:Proximity and Ranging Daemon:/var/db/nearbyd:/usr/bin/false _reportmemoryexception::269:269:ReportMemoryException:/var/db/reportmemoryexception:/usr/bin/false _driverkit::270:270:DriverKit:/var/empty:/usr/bin/false _diskimagesiod::271:271:DiskImages IO Daemon:/var/db/diskimagesiod:/usr/bin/false _logd::272:272:Log Daemon:/var/db/diagnostics:/usr/bin/false _appinstalld::273:273:App Install Daemon:/var/db/appinstalld:/usr/bin/false _installcoordinationd::274:274:Install Coordination Daemon:/var/db/installcoordinationd:/usr/bin/false _demod::275:275:Demo Daemon:/var/empty:/usr/bin/false _rmd::277:277:Remote Management Daemon:/var/db/rmd:/usr/bin/false _accessoryupdater::278:278:Accessory Update Daemon:/var/db/accessoryupdater:/usr/bin/false _knowledgegraphd::279:279:Knowledge Graph Daemon:/var/db/knowledgegraphd:/usr/bin/false _coreml::280:280:CoreML Services:/var/db/coreml:/usr/bin/false _sntpd::281:281:SNTP Server Daemon:/var/empty:/usr/bin/false _trustd::282:282:trustd:/var/empty:/usr/bin/false _mmaintenanced::283:283:mmaintenanced:/var/db/mmaintenanced:/usr/bin/false _darwindaemon::284:284:Darwin Daemon:/var/db/darwindaemon:/usr/bin/false _notification_proxy::285:285:Notification Proxy:/var/empty:/usr/bin/false _avphidbridge::288:288:Apple Virtual Platform HID Bridge:/var/empty:/usr/bin/false _biome::289:289:Biome:/var/db/biome:/usr/bin/false _backgroundassets::291:291:Background Assets Service:/var/empty:/usr/bin/false _mobilegestalthelper::293:293:MobileGestaltHelper:/var/empty:/usr/bin/false _audiomxd::294:294:Audio and MediaExperience Daemon:/var/db/audiomxd:/usr/bin/false _terminusd::295:295:Terminus:/var/db/terminus:/usr/bin/false _neuralengine::296:296:AppleNeuralEngine:/var/db/neuralengine:/usr/bin/false _eligibilityd::297:297:OS Eligibility Daemon:/var/db/eligibilityd:/usr/bin/false _systemstatusd::298:298:SystemStatus Services:/var/empty:/usr/bin/false _aonsensed::300:300:Always On Sense Daemon:/var/db/aonsensed:/usr/bin/false _modelmanagerd::301:301:Model Manager:/var/db/modelmanagerd:/usr/bin/false _reportsystemmemory::302:302:ReportSystemMemory:/var/empty:/usr/bin/false _swtransparencyd::303:303:Software Transparency Services:/var/db/swtransparencyd:/usr/bin/false _naturallanguaged::304:304:Natural Language Services:/var/db/com.apple.naturallanguaged:/usr/bin/false _oahd::441:441:OAH Daemon:/var/empty:/usr/bin/false
~ /etc/pure-ftpd.conf ✔ at 17:35:38 zsh: no such file or directory: /etc/pure-ftpd.conf
~ /etc/passwd 127 ✘ at 17:36:29 zsh: permission denied: /etc/passwd
~ sudo /etc/passwd 126 ✘ at 17:36:42 sudo: /etc/passwd: command not found
- Assistant
It looks like you're trying to find the FTP username and password for a Pure-FTPd server running on your system. Here are some clarifications and steps you can take to set up or find your FTP credentials:
-
Username:
- An FTP user's username on your system typically corresponds to a system user account. You can check
/etc/passwdfor a list of users on your system. However, make sure you have the right permissions to access this file, as it contains sensitive information.
- An FTP user's username on your system typically corresponds to a system user account. You can check
-
Password:
- The passwords are not stored in plain text within
/etc/passwd. Instead, they are usually stored in a hashed format in/etc/shadow, which requires superuser access to view.
- The passwords are not stored in plain text within
-
Configuration:
- If you're trying to configure Pure-FTPd, you might need an
pure-ftpd.conffile for additional settings. Since you got an error when trying to access/etc/pure-ftpd.conf, it might mean that the configuration file doesn't exist yet. You might have to create it or look in/etc/pure-ftpddirectory or other locations specified during installation.
- If you're trying to configure Pure-FTPd, you might need an
-
Creating Users with Pure-FTPd:
-
Pure-FTPd also supports virtual users, which are independent of the system users, through the
pure-pwcommand. You can manage these users with commands like:sudo pure-pw useradd <username> -f /etc/pure-ftpd/pureftpd.passwd -u <system_user> -d <home_directory> sudo pure-pw mkdb
-
-
Recommendations:
- Ensure the Pure-FTPd service is running correctly and listening on the expected ports.
- Verify that you have the necessary permissions to make and view changes regarding user management and configuration files.
If you're still having issues, please let me know what specific problem you need more help with.
-