Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/list/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Passwords 更改Cloud9的用户名并在Beaglebone黑色中添加密码_Passwords_Cloud9 Ide_Beagleboneblack - Fatal编程技术网

Passwords 更改Cloud9的用户名并在Beaglebone黑色中添加密码

Passwords 更改Cloud9的用户名并在Beaglebone黑色中添加密码,passwords,cloud9-ide,beagleboneblack,Passwords,Cloud9 Ide,Beagleboneblack,我在这里为BBB使用Debian映像: 此映像具有内置的Cloud9IDE。对于我来说,它工作得很好,但我不知道如何添加密码。网络上的任何人都可以转到11.22.33.44:3000(不是实际的IP地址),IDE将自动以“John Doe”(不需要密码)的身份登录他们 登录Cloud9时,是否有方法请求用户名和密码?如果浏览器保存密码,我可以,但它应该至少询问一次。从命令行启动Cloud9(至少是最新版本)时,您可以使用: -用户:通过 其中“user”是允许的用户名,“pass”是该用户的密码

我在这里为BBB使用Debian映像:

此映像具有内置的Cloud9IDE。对于我来说,它工作得很好,但我不知道如何添加密码。网络上的任何人都可以转到11.22.33.44:3000(不是实际的IP地址),IDE将自动以“John Doe”(不需要密码)的身份登录他们


登录Cloud9时,是否有方法请求用户名和密码?如果浏览器保存密码,我可以,但它应该至少询问一次。

从命令行启动Cloud9(至少是最新版本)时,您可以使用:

-用户:通过

其中“user”是允许的用户名,“pass”是该用户的密码。它使用基本的web身份验证

Cloud9的其他参数包括:

  • -l[要接受的ip地址]
    使用0.0.0.0接受所有ip地址
  • -w path/to/project/to/edit
  • -p要操作的端口
至于用于启动Cloud9的特定脚本/服务,在其中调整启动参数,我不确定。您可以尝试以下信息了解从何处开始查找:


从命令行启动Cloud9时(至少使用最新版本),您可以使用:

-用户:通过

其中“user”是允许的用户名,“pass”是该用户的密码。它使用基本的web身份验证

Cloud9的其他参数包括:

  • -l[要接受的ip地址]
    使用0.0.0.0接受所有ip地址
  • -w path/to/project/to/edit
  • -p要操作的端口
至于用于启动Cloud9的特定脚本/服务,在其中调整启动参数,我不确定。您可以尝试以下信息了解从何处开始查找:


我刚刚找到了解决办法

要设置默认用户名和密码,请执行以下操作:

  • 打开文件
    /opt/cloud9/build/standalonebuild/configs/standalone.js

  • 找到以下代码块。(应位于文件的顶部)

  • fullname
    的值更改为所需的用户名

  • 重新启动BeagleBone Black并转到
    11.22.33.44:3000
    ,您将在Cloud9 IDE上看到更新的配置文件名称


  • 我刚刚找到了解决办法

    要设置默认用户名和密码,请执行以下操作:

  • 打开文件
    /opt/cloud9/build/standalonebuild/configs/standalone.js

  • 找到以下代码块。(应位于文件的顶部)

  • fullname
    的值更改为所需的用户名

  • 重新启动BeagleBone Black并转到
    11.22.33.44:3000
    ,您将在Cloud9 IDE上看到更新的配置文件名称


  • 我不得不添加
    .default(“auth”,“user:pass”)
    但它起作用了。我不得不添加
    .default(“auth”,“user:pass”)
    但它起作用了。你知道密码临时存储在哪里吗?是纯文本的吗?你知道密码临时存储在哪里吗?是纯文本吗? if (!optimist.local) { optimist .boolean("t") .describe("t", "Start in test mode") .describe("k", "Kill tmux server in test mode") .default("b", false) .describe("b", "Start the bridge server - to receive commands from the cli") .default("w", config.workspaceDir) .describe("w", "Workspace directory") .alias("p", "port") .default("port", process.env.PORT || config.port) .describe("port", "Port") .alias("d", "debug") .default("debug", false) .describe("debug", "Turn debugging on") .alias("l", "listen") .default("listen", process.env.IP || config.host) .describe("listen", "IP address of the server") .boolean("help") .describe("workspacetype") .alias("ws", "workspacetype") .describe("readonly", "Run in read only mode") .alias("ro", "readonly") .describe("packed", "Whether to use the packed version.") .boolean("packed") .default("packed", config.packed) .alias("a", "auth") .describe("auth", "Basic Auth username:password") .default("auth", ":") .describe("collab", "Whether to enable collab.") .default("collab", config.collab) // @lennartcl this should be moved .describe("lb.fileserver", "LogicBlox file server Url") .default("lb.fileserver", config.logicblox && config.logicblox.fileServerURL); } user: { uid: 1, name: "johndoe", fullname: "John Doe", email: "johndoe@example.org", pubkey: null },