지락문화예술공작단

지락문화예술공작단

  • HOME
  • MAIN
  • NEWS
  • TECH
  • SECURITY
  • GAME
  • WHEREIS

account

No Image

install proftpd with account in sql

2016-01-25 KENNETH 0

  컴파일 옵션 ./configure –prefix=/usr/local/proftpd –with-shared=mod_sql:mod_sql_mysql 보통 설치시엔 기타 옵션이 더 있는데.. 일단 sql기반의 유저를 사용하기 위해서는 위 옵션이면 된다.   설정 파일 시스템 기반의 계정을 사용 하는 경우에는 필요가 없음 <IfModule mod_dso.c> LoadModule mod_quotatab.c LoadModule mod_quotatab_sql.c LoadModule mod_sql.c LoadModule mod_sql_mysql.c </IfModule> ################################################################################ # Auth ################################################################################ # Use only AuthUserFiles when authenticating, and not the system’s /etc/passwd AuthOrder mod_sql.c mod_auth_file.c mod_auth_pam.c mod_auth_unix.c MaxLoginAttempts 2 # Block based on /etc/ftpusers UseFtpUsers on AuthPAM on # Use pam to authenticate (default) and be authoritative. # Only need the LoadModule if mod_auth_pam is a DSO. AuthPAMConfig proftpd DebugLevel 0 TransferLog /usr/local/proftpd/logs/transfer.log ExtendedLog /usr/local/proftpd/logs/proftpd.log ALL <IfModule mod_sql.c> SQLBackend mysql SQLAuthenticate users groups SQLAuthTypes OpenSSL Crypt Plaintext SQLLogFile /usr/local/proftpd/logs/sql.log #SQLLog DELE,MKD,RETR,RMD,RNFR,RNTO,STOR,APPE extendedlog # used to connect to the database # databasename@host database_user user_password SQLConnectInfo ftp_db@localhost ftp_db password_of_user # set min UID and GID – otherwise these [ more… ]

No Image

common usage of the ftpasswd tool

2015-08-17 KENNETH 0

  ftpasswd 명령을 이용한 계정 생성   1. 환경 – os : linux – ftp : proftpd – proftpd prefix : /usr/local/proftpd   2. 존재하는 시스템 계정 realaccount1:x:1009:1009::/home/realaccount1:/bin/bash – id (account name) : realaccount1 – uid : 1009 – gid : 1009 – homedir : /home/realaccount1   3. 생성하려는 FTP 계정 – id : ftpaccount1 – pass : P@ssword 생성한 계정은 realaccount1 에 매칭을 시키면서 동일한 권한을 갖게 하는 것이 목적임   4. proftpd.conf AuthOrder mod_auth_file.c mod_auth_pam.c mod_auth_unix.c AuthGroupFile /usr/local/proftpd/etc/auth.group AuthUserFile /usr/local/proftpd/etc/auth.passwd   5. 계정 생성 명령 * 그룹 생성 /usr/local/proftpd/bin/ftpasswd –group –file /usr/local/proftpd/etc/auth.group –gid 1009 –name ftpaccount1   * 계정 생성 echo P@ssword | /usr/local/proftpd/bin/ftpasswd –passwd –file /usr/local/proftpd/etc/auth.passwd –gid 1009 –shell /sbin/nologin –uid 1009 –home /home/realaccount1 –name ftpaccount1 –stdin    

카테고리

  • BOOK
    • 도서리뷰
    • 새로나온책
  • GAME
  • MOBILE
  • MOVIE
  • NEWS
  • SECURITY
    • KISA – 보안공지
    • KISA – 오늘의 사이버 위협
    • MS – SECURITY
    • MS – 보안 대응 센터
    • RHN ERRATA
    • Ubuntu security
  • TECH
    • APPLE
    • CLOUD
    • DB
    • DEV
    • ETC
    • HW
    • WEB
    • 리눅스
    • 워드프레스
    • 윈도우
  • WHEREIS
  • 부동산
  • 뻘글(일상에관한)
  • 유용한정보

최신 글

  • [chrome] 업데이트를 확인하는 동안 오류가 발생했습니다. 9(오류 코드: 0).
  • [LINUX] DB access fails on PHP webpage, but CLI succecess on rhel (by selinux)
  • [CentOS6] “[Errno 14] problem making ssl connection” after using vault repository

최신 댓글

  • 맨 위 37 오버 워치 패치 노트 20시간 전에 업데이트됨 - 오버워치 패치 노트 – 2017년 7월 28일 – 패치 1.13.0.2
  • ETA - jsp 에서 사용자가 생성한 java class 호출 하기
  • 매트랩의 정석 5판 PDF? 이제 무료로 다운로드하세요! - 매트랩의 정석/Amos Gilat 지음, 부광석 외 옮김/Wiley

보관함

태그

adobe apache aws book centos cisco cve errata error flash httpd install java kakao kisa linux MS ms-msrc ms-security mysql nginx openssl php player rhel security Server ssl ubuntu ubuntu-usn update web windows WordPress xe _session 리눅스 보안 업데이트 영화 오버워치 일본 읽어 취약점 한빛미디어

메타

  • 로그인
  • 엔트리 피드
  • 댓글 피드
  • WordPress.org

카테고리

  • BOOK
    • 도서리뷰
    • 새로나온책
  • GAME
  • MOBILE
  • MOVIE
  • NEWS
  • SECURITY
    • KISA – 보안공지
    • KISA – 오늘의 사이버 위협
    • MS – SECURITY
    • MS – 보안 대응 센터
    • RHN ERRATA
    • Ubuntu security
  • TECH
    • APPLE
    • CLOUD
    • DB
    • DEV
    • ETC
    • HW
    • WEB
    • 리눅스
    • 워드프레스
    • 윈도우
  • WHEREIS
  • 부동산
  • 뻘글(일상에관한)
  • 유용한정보

최신 글

  • [chrome] 업데이트를 확인하는 동안 오류가 발생했습니다. 9(오류 코드: 0).
  • [LINUX] DB access fails on PHP webpage, but CLI succecess on rhel (by selinux)
  • [CentOS6] “[Errno 14] problem making ssl connection” after using vault repository

최신 댓글

  • 맨 위 37 오버 워치 패치 노트 20시간 전에 업데이트됨 - 오버워치 패치 노트 – 2017년 7월 28일 – 패치 1.13.0.2
  • ETA - jsp 에서 사용자가 생성한 java class 호출 하기
  • 매트랩의 정석 5판 PDF? 이제 무료로 다운로드하세요! - 매트랩의 정석/Amos Gilat 지음, 부광석 외 옮김/Wiley

보관함

메타

  • 로그인
  • 엔트리 피드
  • 댓글 피드
  • WordPress.org

Copyright © 2025 | WordPress Theme by MH Themes