Development Notes
How to determine which groups a user is in…
[root@host ~]# id username
How to add an existing user to an exisitng group:
[root@host ~]# usermod -a -G groupname username
How to restart ftp server:
[root@host ~]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
How to get status of FTP server:
[root@host ~]# service xinetd status
xinetd (pid 23815) is running…
[root@host ~]# lsof -i tcp:21
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 21942 root 14u IPv4 44381681 TCP *:ftp (LISTEN)