Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个 Web 应用程序来配置 DHCP。我想知道如何做到这一点,因为 apache 用户没有权限更改 /etc/ linux 文件夹中的文件。
关于如何完成的任何想法。
setuid您可以通过编写脚本将权限借给 apache 用户。小心,如果做错了,可能会削弱 linux 机器的安全性。
setuid
在我的jsp中,如果我打电话<form action="/sampleServlet" method="get" name="form1">,我会得到以下异常:
<form action="/sampleServlet" method="get" name="form1">
http 404 错误--未找到 sampleServlet。我在 web.xml 文件中设置