레이블이 linux인 게시물을 표시합니다. 모든 게시물 표시
레이블이 linux인 게시물을 표시합니다. 모든 게시물 표시

4/13/2020

Linux Administration

** Linux Administration


` Creating a User

` Add new user Account Using Terminal

- sudo adduser username


` Deleting, disabling account

1. Remove Password Information : sudo passwd -l username

2. Delete Account : sudo userdel -r username


` Adding users to the usergroups

- sudo usermod -a -G GROUPNAME USERNAME

- Adding group mail : sudo usermod -a -G mail USERNAME

- groupmod + Tab Key Twice : all group print


` Removing a user from Usergroup

- sudo deluser USER GROUPNAME

- sudo apt-get install gnome-system-tools


`` Recap

- You can use both GUI or Terminal for User Administration.

- You can create, disable and remove user accounts.

- You can add/delete a user to a usergroup.


- sudo adduser : Adds a user

- sudo passwd -l 'username' : Disable a user

- sudo userdel -r 'username' : Delete a user

- sudo usermod -a -G GROUPNAME USERNAME : Add user a to a usergroup

- sudo deluser USER GROUPNAME : Remove user from a user group

- finger : Gives information on all logged users

- finger username : Gives information of a particular user

Shell Scripting

** Shell Scripting


- Hardware - Kernel - Operating System - Shell - Terminal - User


` Types of Shell

- POSIX shell also known as sh

- Korn Shell also known as sh

- Bourne Again SHell also known as bash

- C shell also known as csh

- Tops C shell also known as tcsh


` What is shell scripting and why do I need it?

- Writing a series of commands

- Combine lengthy and repetitive commands

- This helps reduce the efforts


` Creating a Shell script

1. Create a file using a text editor like vi

2. Name script file with extension .sh

3. Start the script with #! /bin/sh

4. Write some code

5. Save the script file as filename.sh

6. For executing the script type bash filename.sh


` Adding shell comments

- # comment

` What are Shell Variables?

ex)
variable = "Hi"
echo $variable

Hi

ex)
#! /bin/sh
echo "What is your name?"
read name
echo "How do you do, $name?"
read remark
echo "I am $remark too!"



`` Summary

- Kernel is the nucleus of the operating systems and it communicates between hardware and software.

- Shell is a program which interprets user commands through CLI like Terminal.

- The Bourne shell and the C shell are the most used shells in Linux.

- Shell scripting is writing a series of command for the shell to execute.

- Shell variables store the value of a string or a number for the shell to read.

- Shell scripting can help you create complex programs containing conditional statements, loops and functions.


VI Editor

** VI Editor


`` VI Editor

` Why vi Editor?

- It is available in almost all Linux Distributions.

- It works the same across different platforms and Distributions.

- It is user friendly.


` Vim - Vi improved 


` Command Mode 

- Vi editor opens in this mode.

- Move the cursor and cut, copy, paste the text.

- Saves the changes to the file.

- Commands are case sensitive.



` Insert mode

- This mode is for inserting text in the file.

- Press 'i' on the keyboard for insert mode.

- In Insert mode, any key would be taken as an input.

- Press Esc key to save changes and return to command mode.


` Starting Vi Editor

- vi or vi

- ~ : denote unused lines


- i : Insert at cursor (goes into insert mode)

- a : Write after cursor (goes into insert mode)

- A : Write at the end of line (goes into insert mode)

- ESC : Terminate insert mode

- u : Undo last change

- U : Undo all changes to the entire line

- o : Open a new line (goes into insert mode)

- dd : Delete line

- 3dd : Delete 3 lines.

- D : Delete contents of line after the cursor

- C : Delete contents of line after the cursor and insert new text.

- dw : Delete word

- 4dw : Delete 4 words

- cw : Change word

- x : Delete character at cursor

- r : Replace character

- R : Overwrite characters from cursor onward

- s : Substitute one character under cursor continue to insert

- S : Substitute entire line and begin to insert at beginning of the line

- ~ : Change case of individual character


` Moving within a File

- Be in the command mode

- k : Move cursor up

- j : Move cursor down

- h : Move cursor left

- l : Move cursor right



` Saving or Closing the File

- Use only in Command Mode!

- Shift+zz : Save the file and quit

- :w : Save the file but keep it open

- :q : Quit without saving

- :wq : Save the file and quit



`` Summary

- The vi editor is the most popular and commonly used Linux text editor.

- It is usually available in all Linux Distributions.

- It works in two modes, Command and Insert.

- Command mode takes the user commands and the Insert mode is for editing text.

- You should know the commands in order to work on your file easily.

- Learning to use this editor can benefit you in creating scripts and editing files.



리눅스 통신

** 리눅스 통신


` PING


- ping

- Analyzing network and host connections

- Tracking network performance and managing it

- Testing hardware and software issues


` FTP

- FTP is File Transfer Protocol.

- ftp

- Logging in and establishing a connection with a remote host.

- Upload and download files.

- Navigating through directories.

- Browsing contents of the directories.


- dir : Display files in the current directory remote computer

- cd "dirname" : Change directory to "dirname" on remote computer

- put file : upload 'file' from local to remote computer

- get file : Download 'file' from remote to local computer

- quit : Logout



` Telnet

- telnet

- Connect to a remote Linux computer.

- Run programs remotely and conduct administration.

- Similar to the Remote Desktop found in Windows Machine.


` SSH


- SSH username@ip-address or hostname

- Securely connect to a remote computer

- Compared to Telnet, SSH is more secure


`` Summary

- Communication between Linux/UNIX and other different computers, networks and remote users is possible.

- The ping command checks whether the connection with a hostname or IP-address is working or not. Run 'ping IP address or Hostname' on the terminal.

- FTP is preferred protocol for sending and receiving large files. You can establish a FTP connection with a remote host and then use commands for uploading, downloading files, checking file and browsing them.

- Telnet utility helps you to connect to a remote Linux computer and work on it.

- SSH is a replacement for Telnet and is used by system administrators to control remote Linux servers.

---------------------------------------------------------------------



`` Environment Variables


` Platform = Operating System + Processor

` Variable ?

- Location for storing a value

- Referred to with its symbolic name

- The value stored can be displayed, deleted, edited and re-saved


` Environment Variables ?

- Dynamic values

- Exist in every operating system

- Can be created, edited, saved and deleted

- Gives information about the system behavior

- Change the way software/programs behave


- PATH : This variable contains a colon(:)-separated list of directories in which your system looks for executable files.

- USER : The username

- HOME : Default path to the user's home directory

- EDITOR : Path to the program which edits the content of files

- UID : User's unique ID

- TERM : Default terminal emulator

- SHELL : Shell being used by the user

- ENV : displays all the environment variables


` Accessing Variable values

- echo $VARIABLE


` Creating New Variables

- VARIABLENAME = variablevalue


` Deleting Variables

- unset


`` Summary

- Environment variables govern behavior of programs in your Operating system.

- echo $VARIABLE : To display value of a variable

- env : Displays all environment variables

- VARIABLE_NAME = variable_value : Create a new variable

- unset : Remove a variable

- export Variable = value : To set value of an environment variable

리눅스 환경설정 변수


** 리눅스 환경설정 변수


`` Environment Variables


` Platform = Operating System + Processor


` Variable ?

- Location for storing a value

- Referred to with its symbolic name

- The value stored can be displayed, deleted, edited and re-saved


` Environment Variables ?

- Dynamic values

- Exist in every operating system

- Can be created, edited, saved and deleted

- Gives information about the system behavior

- Change the way software/programs behave


- PATH : This variable contains a colon(:)-separated list of directories in which your system looks for executable files.

- USER : The username

- HOME : Default path to the user's home directory

- EDITOR : Path to the program which edits the content of files

- UID : User's unique ID

- TERM : Default terminal emulator

- SHELL : Shell being used by the user

- ENV : displays all the environment variables


` Accessing Variable values

- echo $VARIABLE


` Creating New Variables

- VARIABLENAME = variablevalue


` Deleting Variables

- unset <VARIABLENAME>


`` Summary

- Environment variables govern behavior of programs in your Operating system.

- echo $VARIABLE : To display value of a variable

- env : Displays all environment variables

- VARIABLE_NAME = variable_value : Create a new variable

- unset <VARIABLENAME> : Remove a variable

- export Variable = value : To set value of an environment variable


4/12/2020

File Permissions system in Linux

** File Permissions system in Linux


`` User

- Owner of the File

- User also called an Owner


`` Group

- User-group can contain multiple users.

- All users in the group have the same file permissions.


`` Other

- Any other user who has access to a file

- Does not own the file

- Does not belong to a Usergroup


--------------------------------------------------------


- r = read permission

- w = write permission

- x = execute permission

- - = no permission


--------------------------------------------------------

`` Changing file / directory permissions

- chmod permissions filename

- Stands for 'change mode'.

- Using the command, we can set permissions (read, write, execute) on a file/directory for the owner, group and the world.


`` Absolute(Numeric) Mode

- 0 : No Permission : ---

- 1 : Excute : --x

- 2 : Write : -w-

- 3 : Excute + Write : -wx

- 4 : Read : r--

- 5 : Read + Excute : r-x

- 6 : Read + Write : rw-

- 7 : Read + Write + Excute : rwx



`` Symbolic Mode


- + : Adds a permission to a file or directory.

- - : Removes the permission.

- = : Sets the permission and overrides the permissions set earlier.


- u : user/owner

- g : group

- o : other

- a : all


`` Changing Ownership and Group

- chown user

- chown user:group



`` Tips on Usergroups

- /etc/group

- Command 'groups'

- Command 'newgrp'


기초 리눅스 명령어

** 기초 리눅스 명령어


- pwd : Present Working Directory. Print Working Directory.


- cd : To change to a particular directory.

- cd .. : Move one directory level up.

- cd directory1/directory2 : Navigating through multiple directories.

- cd / : Move to the root directory.

- cd or cd ~ : Navigate to HOME directory. To return to home directory.


- ls : Lists all files and directories in the present working directory.

- ls -R : Lists files in sub-directories as well.

- ls -a : Lists hidden files as well. Hidden files start with '.' period symbol.

- ls -al : Lists files and directories with detailed information.


- cat : Display, Copy, Combine, Create text files.

- cat > filename : Creates a new file.

- cat filename : Displays the file content.

- cat file1 file2 > file3 : Joins two files(file1, file2) and stores the output in a new file(file3).


- mv file "new file path" : Moves the files to the new location.

- mv filename new_file_name : Renames the file to a new filename.


- sudo : Allows regular users to run programs as superuser or root.


- rm : Deletes a file.


- mkdir : Creates a new directory in the present working directory.

- mkdir : Create a new directory at the specified path.


- rmdir : Deletes a directory.


- mv : Renames a directory.


- man : Gives help information on a command.


- history : Gives a list of all past commands typed in the current terminal session.


- clear : Clears the terminal.

---------------------------------------------------------------------

`` pr Command : Printing on Linux


` Pr Command Options

- pr -x : Divides the data into 'x' columns

- pr -h "header" : Assigns "header" value as the report header

- pr -t : Does not print the header and top/bottom margins

- pr -d : Double spaces the output file

- pr -n : Denotes all line with numbers

- pr -l page length : Defines the lines (page length) in a page. Default is 56

- pr -o margin : Formats the page in accordance with the margin number



`` lp Filename or lpr Filename : Hard Copy

- Printing 'N' copies of file

- lp -nN Filename or lpr n Filename

- lp -dPrintername Filename or lpr -PPrintername Filename : Choosing Printers


---------------------------------------------------------------------


`` apt-get : Command used to install and update packages


- sudo apt-get install Softwarename : Installing Software


---------------------------------------------------------------------



`` Mailx address body : Command to send email

`` email address body : Command to send email



---------------------------------------------------------------------


`` Redirection in Linux

` Input / Output

- Standard Input (stdin) device is the keyboard.

- Standard Output (stdout) device is the Screen.


` Output Redirection

- The '>' symbol is used for output (stdout) redirection.

- Output Redirection >

- ">" is the output redirection operator. ">>" appends output to an existing file.


` Input redirection

- The '<' symbol is used for input (stdin) redirection.

- < Input Redirection

- ex) mail -s "News Today" abc@mail.com < NewsFlash


` Error Redirection

- Standard Input STDIN : FD0

- Standard Output STDOUT : FD1

- Standard Error STDERR : FD2



` Why Error Redirection?

- Searching for files typically gets permission denied errors.

- Error messages clutter up program output while executing shell scripts.

- Solution = Redirect error messages


` ls Documents ABC > dirlist 2>&1

- ">&" which writes the output from one file to the input of another file.

- Error output is redirected to standard output which in turn is being re-directed to file dirlist.

- ">&" re-directs output of one file to another.


---------------------------------------------------------------------


`` Pipes


- The symbol '|' denotes a pipe.

- Use Pipes to run two commands consecutively.

- Helps in creating powerful commands

ex) cat aaa.txt | less


` 'pg' and 'more' commands

- cat Filename | pg

- cat Filename | more



`` grep 

- Scan a document

- Present the result in a format you want

- grep

ex) cat aaa.txt | grep han



` The 'grep' command

- -v : Shows all the lines that do not match the searched string.

- -c : Displays only the count of matching lines.

- -n : Shows the matching line and its number.

- -i : Match both (upper and lower) case, all lines that match the character.

- -l : Shows just the name of the file with the string.



`` The 'sort' command

- Sorting the contents of a file

- sort Filename


` The 'sort' Option

- -r : Reverses sorting

- -n : Sorts numerically

- -f : Case insensitive sorting


` Pipes '|' help combine 2 or more commands.

` A filter in a pipe is an output of one command which serves as input to the next.

` The grep command can be used to find strings and values in a text document.

` 'sort' command sorts out the content of a file alphabetically.

` less, pg and more commands are used for dividing a long file into readable bits.


---------------------------------------------------------------------


`` Regular Expressions


` tr, sed, vi, grep

- . : replaces any character

- ^ : matches start of string

- $ : matches end of string

- * : matches up zero or more times the preceding character

- : Represent special characters

- () : Groups regular expressions

- ? : Matches up exactly one character


` Interval Regular Expressions

- Number of occurrences of a character in a string.

- {n} : Matches the preceding character appearing 'n' times exactly

- {n,m} : Matches the preceding character appearing 'n' times but not more than m

- {n,} : Matches the preceding character only when it appears 'n' times or more


` Extended regular Expressions

- \+ : Matches one or more occurrence of the previous character

- \? : Matches zero or one occurrence of the previous character


` Brace Expansion

- Sequence : {0..10}, {a..z}

- Comma Separated List : {aa, bb, cc, dd}


` Summary

- Regular expressions are a set of characters used to check patterns in strings.

- They are also called 'regexp' and 'regex'.

- It is important to learn regular expressions for writing scripts.


` Some basic regular expressions are:

- . : replaces any character

- ^ : matches start of string

- $ : matches end of string


` Some extended regular expressions are :

- \+ : Matches one or more occurrence of the previous character

- \? : Matches zero or one occurrence of the previous character


` Some interval regular expressions are :

- {n} : Matches the preceding character appearing 'n' times exactly

- {n,m} : Matches the preceding character appearing 'n' times but not more than m

- {n, } : Matches the preceding character only when it appears 'n' times or more

- The brace expansion is used to generate strings. It helps in creating multiple strings out of one.

---------------------------------------------------------------------

`` Managing Processes


` Process?

- An instance of a program is called a Process.

- Any command that you give to your Linux machine starts a new process.


` Types of Processes

- Foreground Processes

- Background Processes


` Background Process

1. Start the program

2. Press Ctrl + Z

3. Type bg to send process to background


` FG Command

- fg (jobname)



` Top

- Displays all the running processes.

- top

` process Status

- D : Uninterruptible sleep

- R : Running

- S : Sleeping

- T : Traced or Stopped

- Z : Zombie



` PS

- Process Status

- ps ux

- ps PID



` kill

- Terminates running processes

- kill PID

- niceness : -20 to 19 : Lower the niceness index, higher would be the priority


` NICE

- Default value of all the processes is 0

- nice -n 'Nice value' process name

- renice 'nice value' -p 'PID'


` DF

- Reports the free disk space

- df


` FREE

- Shows free and used memory (RAM) on the Linux system

- free -m

- free -g


`` Summary

- Any running program or a command given to a Linux system is called a process.

- A process could run in foreground or background.

- The priority index of a process is called Nice in Linux. Its default value is 0 and it can vary between 20 to -19.

- The lower the Niceness index the higher would be priority given to that task.

- bg : To send a process to background

- fg : To run a stopped process in foreground

- top : Details on all Active Processes

- ps : Give the status of processes running for a user

- ps PID : Gives the status of a particular process

- pidof : Gives the Process ID(PID) of a process

- kill PID : kills a process

- nice : Starts a process with a given priority

- renice : Changes priority of an already running process

- df : Gives free hard disk space on your system

- free : Tells the free RAM on your system


---------------------------------------------------------------------


1/07/2007

[linux] linux daemon

amanda : 백업 클라이언트인 amanda 데몬

amandaidx : amanda 서버의 패키지 서비스 중 하나인 amandaidx 데몬

amd : auto mount daemon, 시스템의 요청이 있는 경우에 자동으로 장치와 NFS 호스트를 마운트해 주는 데몬.
네트워크의 설정이 잘못된 경우에는 부팅을 하는 도중에 문제를 일으킬수 있으므로 처음에서 꺼두는 것이 좋다.

amidxtape : amand 서버에 패키지 서비스 중 하나인 amidxtape 데몬

anacron : 시간에 따라 지정한 프로그램을 정기적으로 실행하는 데몬. cron과 같은 기능을 하지만 계속 켜두지 않는 컴터에서 사요하는 데몬

apmd : 베터리 상태를 감시하고 syslog(8)에 기록하며 시스템을 끄기도 하는 데몬

arpwatch : 이더넷 카드와 ip 어드레스의 설정 관계를 유지하는 데몬

atd : 특정 시간 또는 시스템 부하가 적을때 지정된 명령을 실행시키는 데몬

autofs : 파일 시스템을 사용하고자 할때 자동으로 마운트 시켜주는 데몬

chargen : chargen의 TCP 버전 서버

chargen-upd : chargen의 UDP 버전 서버

ciped : ip address를 암호화하는 CIPE 데몬

crond : cron을 실행시키는 데몬, cron은 지정한 프로그램을 특정 시간에 주기적으로 실행시키는 유닉스 표준 프로그램

daytime : daytime의 TCP 버전 서버. daytime은 클라이언트의 질의에 응답하여 아스키 형태로 현재 시간과 날짜를 출력하는 데몬. TCP 포트 13을 사용

daytime-udp : daytime의 UDP 버전 서버. UDP포트 13을 사용

dhcpd : Dynamic host configuration protocol server daemon. 동적 호스트 제어 프로토콜 서버 데몬.
BOOTP와 DHCP가 포함된 데몬으로 클라이언트들이 부팅할때 자동으로 동적 IP 어드레스와 네트워크 정보를 가질수 있게 해줌.

echo : echo 의 TCP 버전 서버

echo-udp : echo 의 UDP 버전 서버

finger : finger 리퀘스트에 응답하는 서버. finger는 사용자에 대한 로그인 네임, 디렉토리, 쉘과 최종 로그인 시간에 대한 정보를 볼수 있게 하는 프로토콜

gated : gated(라우팅 데몬) 을 시작하거나 종료 시키는 데몬

gpm : MC(midnight command) 와 같은 텍스트 기반 리눅스용 애플리케이션에서 마우스를 쓸수 있게 해주는 데몬.
콘솔에서 마우스를 이용한 팝업 메뉴와 복사/ 붙이기 기능도 지원

httpd : 웹 서비스를 위한 아파치 데몬. html파일과 cgi를 사용가능하게 함

identd : 특별한 TCP 연결에서 사용자의 신원을 결정해 주는 데몬. TCP 포트번호를 주면 연결된 서버 시스템 소유자를 확인할수 있는 문자열을 돌려줌

imap : 원격 사용자가 imap 클라이언트(Pine, netscape communicator)를 이용하여 자신의 메일에 접근할수 있게 하는 서비스

imaps : 원격 사용자가 SSL을 지원하는 imap 클라이언트(netscape communicator, fetchmail 등)를 이용하여 자신의 메일에 접근할수 있게 하는 서비스

innd : 유즈넷 뉴스 서버를 이용하여 지역 뉴스 서버를 설정할수 있는 데몬

ipchains : 패킷 필터링 파이어월을 자동으로 실행하는 데몬

ipop2 : 원격 사용자가 pop2 클라이언트를 이용하여 메일에 접근할수 있게 하는 서비스

ipop3 : 원격 사용자가 pop3 클라이언트를 이용하여 메일에 접근할수 있게 하는 서비스

irda : irda 가 정상적으로 동작하도록 해 주는 데몬

keytable : /etc/sysconfig/keytable로 키보드 유형을 변환할수 있게 하는 서비스.
한텀에서 kbdconfig 프로그램을 실행하여 키보드 유형을 변환할수 있다. 대부분의 시스템에서 keytable 데몬은 실행시켜 두어야 한다.

kudzu : 부팅시 새롭게 추가된 하드웨어를 설정할 수 있게 hardware probe를 실행시키는 데몬

linuxconf : 시스템 설정을 유지하기 위해 부팅시에 다양한 태스크의 실행을 정렬시키는 데몬.

linuxconf-web : 웹을 통해 linuxconf를 실행할수 있게 연결을 허용하는 데몬

lpd : 프린터(line printer)가 정상적으로 동작하도록 해 주는 프린트 서비스 데몬

mars-nwe : netware IPX 프로토콜을 사용하는 클라이언트에게 리눅스 머신에서 파일과 프린트 서버를 호환시켜 주는 데몬

mcserv : midnight command(MC) 서버이다. MC끼리 네트워크를 공유한다

mysqld : 매우 빠르고 안정적인 mysql 데이타 베이스 서버 데몬이다

named : 도메인 네임과 ip어드레스를 해석하기 위한 DNS서버(BIND) 데몬. 로컬 호스트에서 DNS서버를 운영할때만 실행 시킨다.

netfs : 삼바, 네트워크 파일 시스템(NFS), NCP(netware)등의 마운트와 언마운트에 관여하는 데몬.

network : 네트워크 인터페이스의 설정을 시스템 부팅시 커널에 적재시키는 데몬.

nfs : TCP/IP 네트워크에서 파일을 공유할수 있게 하는 데몬. /etc/exports 파일에서 설정한 NFS 서버가 기동할수 있게 해 준다.

nfslock : NFS파일을 locking 한다.

nscd : NIS/NS 를 사용할수 있게 하는 데몬. nscd는 실행중인 프로그램의 그룹을 살피고 패스워드를 변경하거나 다음 질의를 위해 결과를 캐시하는 데몬이다.

ntalk : 서로 다른 시스템끼리 채팅이 가능하게 ntalk 연결을 허용하는 서버

ntpd : NTPv4데몬

pcmcia : 휴대용 PC에서 이더넷이나 모뎀을 쓸수 있게 하는 데몬.

pop3s : SSL을 지원하는 pop3클라이언트를 사용하여 메일에 접근할수 있게 하는 서비스이다.

portmap : RPC(NFS, NIS, mcsev등) 연결을 관리하기 위한 포트 매핑 데몬으로 RPC를 사용하는 프로그램을 실행하기 위해서는 반드시 선택하여야 하는 데몬.

postgresql : postgresql 디비에 관한 데몬

pppoe : adsl서비스에 연결시켜 주는 데몬

proftpd : 쉬운설정, 보안성, 단순성에 초점을 맞춘 개선된 ftp 서버 데몬

pxe : 부팅전 실행환경 서버. 다른 PXE기반 머신에 네트워크 부팅을 제공한다

random : 시스템에 필요한 난수 발생 및 저장 데몬

rawdevices : HDD 파티션과 같은 블론 디바이스를 위한 스크립트. /etc/sysconfig/rewdevices 파일을 편집하여 원시 디비아스를 블론 디바이스로 매핑할수 있다.

reconfig : /etc/reconfigSys 파일이 존재하면 재설정을 실행하는 데몬

rexec : rexec(3) 루틴을 위한 서버 데몬. 인증된 사용자 이름과 패스워드로 원격 실행을 제공하는 서버이다.

rlogin : rlogin 프로그램을 위한 서버 데몬. 신뢰할수 있는 호스트로부터 특권화된 포트 번호에 기반한 인증을 통해 원격 로그인을 제공한다.

routed : RIP 프로토콜을 통해 업데이트된 자동 IP 라우팅 테이블 설정 데몬

rsh : rshd 서버는 rcmd 루틴을 위한 서버이며 따라서 rsh 프로그램을 위한 서버이다. 신뢰할수 있는 호스트로부터 특권화된 포트번호에 기반한 인증 통해 원격 실행을 제공한다.

rstat : 네트워크에 연결된 사요자에게 그 네트워크 상의 머신에 대한 퍼포먼스 매트릭스를 회수할수 있게 해주는 프로토콜

rsync : 컴퓨터간 자료 공유를 위해서 사용되는 rsync에 대한 데몬이다.

rusersd : 네트워크에 특정 사용자가 있는 검색해 주는 데몬.

rwalld : 시스템에 동작중인 모든 터미널에 메시지를 표시할수 있게 해 주는 프로토콜

rwhod : 원격 접속자의 목록을 볼수 있게 해주는 데몬. finger와 비슷한 기능을 한다.

sendmail : 메일을 다른 호스트로 전송하는 메일 전송(Mail Transport Agent)데몬

smb : SMB 네트워크 서비스를 제공하기 위한 삼바 서버(smbd와 nmbd)데몬

snmpd : SNMP(Simple Network Management Protocol)데몬

squid : HTTP, FTP, gopher와 같은 프로토콜을 사용할때 캐싱 속도를 높이는 데몬.

sshd : openssh 서버 데몬

swat : 삼바 웹 관리 툴, 삼바 서버의 설정을 위해 swat를 사용하며, 웹 브라우저를 통해 901포트로 접속한다.

syslog : 많은 데몬들이 로그 메세지를 다양한 시스템 로그파일에 기록하는데 사용하는 데몬. syslog는 항상 실행되는 것이 좋다.

talk : 다른 시스템에 접속한 사용자로 부터 채팅 요구에 응답하여 터미널의 내용을 다른 사용자에게 보내서 대화할수 있게 하는 데몬.

telnet : telnet 세션을 제공하는 서버. 인증을 위해 사용자 이름과 패스워드를 사용한다.

tftp : 파일 전송을 위한 프로토콜. tftp프로토콜은 어떤 OS에서는 부팅 디스켓이 없는 워크스테이션이나 네트워크 인식 프린터를 위한 설정 파일의 다운로드, 설치 프로세스의 시작을 위해 가끔 이용된다.

time : rdate 데몬에 의해 사용되는 RFC 868 시간 서버의 TCP 버전

time-udp : rdate 데몬에 의해 사용되는 RFC 868시간 서버의 UDP 버전

webmin : webmin 관리자 서버 데몬

xfs : 부팅과 셧다운시 X 폰트 서버를 시작하거나 종료시키는 데몬

xinetd : inetd 데몬을 대체하는 강력한 데몬. telnet, ftp 등과 같은 서비스를 처리하는 슈퍼 데몬.

ypbind : NIS/YP 클라이언트에서 실행되는 데몬으로 NIS도메인을 바인드한다.
NIS클라이언트로 동작하기 위해서는 glibc에 기반한 시스템에서 실행되어 한다. 그러나 NIS를 사용하지 않는 시스템에서는 실행하지 말아야 한다.

yppasswd : NIS클라이언트 사용자의 패스워드를 변경할수 있게 해 주는 데몬

ypserv : 표준 NIS/YP 네트워크 프로토콜 서버. 호스트 네임, 사용자 네임과 다른 정보 데이타베이스를 네트워크를 통하여 배포하는 것은 허용한다.
ypserv데몬은 클라이언트에서는 필요하지 않으며 NIS 서버에서 실행된다.