But under Solaris, the name of the command is useradd.
但是在Solaris中,该命令的名称是useradd。
You can use a system tool like useradd or write your own scripts.
您可以使用诸如useradd这样的系统工具或编写自己的脚本。
The command to add a user is useradd. For example, to create a new user from the console.
添加用户的命令是useradd。
And, of course, you can create user accounts on Knoppix as needed, with useradd and passwd.
当然,您可以在Knoppix上创建所需要的帐号,使用useradd和passwd命令。
Listing 8 is a sample shell script that ACTS as a wrapper around either the adduser or useradd command.
清单8是用作adduser或useradd命令的包装的示例外壳脚本。
Most standard UNIX systems have adduser (or useradd) and addgroup (or groupadd) commands available to the administrator.
大多数标准的UNIX系统都为管理员提供了adduser(或useradd)和addgroup(或groupadd)命令。
The following code shows you how to do this on Fedora Core 4 Linux using the useradd command; other UNIX systems have similar utilities or detailed instructions for adding new users.
以下代码演示了如何在Fedora Core4Linux上使用useradd命令进行此任务;其他UNIX系统具有用于添加新用户的类似实用工具或详细说明。
These are not supported on Solaris but, if you create a shell script with the name adduser, you can simulate the Linux version and then run the real Solaris useradd command with appropriate options.
这些扩展选项在Solaris 上不受支持,但是,如果创建一个名为 adduser的外壳脚本,您就可以模拟Linux版本,然后用适当的选项运行实际的 Solarisuseradd命令。
These are not supported on Solaris but, if you create a shell script with the name adduser, you can simulate the Linux version and then run the real Solaris useradd command with appropriate options.
这些扩展选项在Solaris 上不受支持,但是,如果创建一个名为 adduser的外壳脚本,您就可以模拟Linux版本,然后用适当的选项运行实际的 Solarisuseradd命令。
应用推荐