我有一个applet,它的部分设计是(只)读取文本文件,并在此基础上制作内容。在我的applet中,这是我读入文件的"read“方法:
public void read (String file1) throws IOException
{
str.removeAllElements (); // str is a global vector
BufferedReader dia = new BufferedReader (new FileReader (file1));
for (;;)
{
strc = dia.readLine (
Centos 6.8
尝试创建一个新的根用户
adduser root_2
passwd root_2
Changing password for user root_2.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
运行visudo,找到带有root的行,克隆行并为root_2制作它
visudo
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
root_