vsftpd und user nobody

Backup, Restore und Transfer von Daten
cirox
Posts: 212
Joined: 2006-05-08 23:20
Location: Berlin
 

vsftpd und user nobody

Post by cirox »

Hallo,

ich habe mehrere User in der Art webx angelegt, die natürlich auch eine ftp Verbindung über den installierten vsftpd öffnen.

Nun wird mit "ps aux" auch schön der eingeloggte user webx angezeigt. Allerdings taucht auch immer "nobody" auf. Wie hängt das denn zusammen ?

ps aux:

Code: Select all

xxx:/var/www/confixx# ps aux |grep vsftpd
root      2177  0.0  0.0  3060  544 ?        Ss   Oct09   0:00 /usr/sbin/vsftpd
nobody    6727  0.0  0.0  3168 1000 ?        Ss   13:29   0:00 /usr/sbin/vsftpd
webx     6729  0.0  0.1  3196 1100 ?        S    13:29   0:00 /usr/sbin/vsftpd
nobody   19922  0.0  0.0  3168 1000 ?        Ss   17:42   0:00 /usr/sbin/vsftpd
webx    19924  0.0  0.1  3196 1096 ?        S    17:42   0:00 /usr/sbin/vsftpd
root     21741  0.0  0.0  1884  732 pts/0    S+   18:36   0:00 grep vsftpd
vsftpd.conf:

Code: Select all

#### CONFIXX VSFTPD KONFIGURATIONSDATEI ####
#### erstellt am Mon Sep  4 01:21:54 2006 ###

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

xferlog_enable=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES

ascii_upload_enable=YES
ascii_download_enable=YES
ls_recurse_enable=YES

connect_from_port_20=YES

chroot_local_user=YES

userlist_enable=YES
userlist_file=/etc/chrootUsers
userlist_deny=NO

pam_service_name=vsftpd

#
# The following directive shows allways dot-files.
# vsftpd of version less than 1.1.3 does not support feature 'force_dot_files'.
# If your vsftpd has this feature then 
# remove commenting mark ('#') to activate the directive below.
#

#force_dot_files=YES



listen=YES


### ENDE ####
juergen
Posts: 133
Joined: 2004-03-30 14:44
 

Re: vsftpd und user nobody

Post by juergen »

Code, der keine besonderen Privilegen benötigt, wird von vsftpd in einem eigenen Prozess ausgeführt (normalerweise user nobody). vsftpd nennt das "two process security model".
cirox
Posts: 212
Joined: 2006-05-08 23:20
Location: Berlin
 

Re: vsftpd und user nobody

Post by cirox »

Ok, dann geht das ja in Ordnung.

guß cirox