Questions about account seizure-general Linux technology-Linux technology and application information. The following is a detailed description. "Another method is to seal up the user: Set the Shell of the user account to a specific program that prints only one piece of information. In this way, any
Users who want to log on to this account will not be able to log on and learn the specific cause.
The following is a "tail scr shortpts" sample program used to replace the User Shell Program:
#! /Usr/bin/tail + 2
This account has been closed due to a security breach.
Please call 36 and wait for the men in black to arrive.
The first two characters (#!) in the above Code (#!) Tell the core that the other part of this line is to explain the commands to be run in this file. In this way, the tail command will be displayed on the screen
Display everything except the first line. Generally, this tail scr sort pts is stored in a path independent of the user directory, so as not to generate
Obfuscation ."
As mentioned above, how can we replace the "tail scr shortpts" sample program used to replace the User Shell program ,,,,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service