ubuntu更改计算机名字_如何重置对您的Ubuntu计算机的任何更改并添加信息亭模式...

Gofris是一款工具,可在Ubuntu系统上实现系统状态的一键还原,它能记住用户的主目录文件、系统配置等,即使经过多次重启,也能保持系统初始状态。用户可以在不破坏原有设置的情况下进行软件安装和系统更新。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ubuntu更改计算机名字

ubuntu更改计算机名字

banner

You may want to prevent changes from being made on your perfectly setup Ubuntu computer, but locking down user accounts gives annoying error messages and prevents temporary changes. With Gofris, you can accomplish this without complicated hard drive imaging.

您可能希望阻止在完美安装的Ubuntu计算机上进行更改,但是锁定用户帐户会产生烦人的错误消息并阻止临时更改。 使用Gofris,您无需复杂的硬盘驱动器映像即可完成此任务。

锁定变更 (Locked-Down Changes)

It takes time to get the perfect installation and setup of you computer, especially on Linux systems where virtually every aspect of the OS can be tweaked. If you’re like me, you want to keep this pristine. You could image your hard drive and restore every so often, but then you’d have to update from scratch, and it takes a lot of time. You can lock down your user accounts to prevent changes, but then you can’t make temporary ones when you need to. And these problems are where Gofris comes in.

要完美安装和设置计算机需要花费时间,尤其是在Linux系统上,实际上可以对OS的各个方面进行调整。 如果您像我,则想保持这种原始状态。 您可以映像硬盘并经常进行恢复,但是随后您必须从头进行更新,这会花费很多时间。 您可以锁定用户帐户以防止更改,但是在需要时不能进行临时更改。 这些问题正是Gofris出现的地方。

Gofris is a tool that seamlessly locks your system down. Once enabled, it’ll remember the files in your home directory, system configurations, user interface tweaks, bookmarks, and browser sessions. After every single restart, it’ll restore it like new, but without taking time to restore from an image. At the same time, you can install software and perform system updates with those changes carrying through from restart to restart. It works well for setting up a Guest-mode for your computer, or turning your computer into a “public” kiosk.

Gofris是可无缝锁定系统的工具。 启用后,它将记住您主目录中的文件,系统配置,用户界面调整,书签和浏览器会话。 每次重新启动后,它将像恢复新的一样进行恢复,但无需花费时间从映像中进行恢复。 同时,您可以安装软件并执行系统更新,以及从重启到重启的所有更改。 它非常适合为计算机设置访客模式,或将计算机变成“公共”信息亭。

安装 (Installation)

As always, we love command-line installation.

与往常一样,我们喜欢命令行安装。

ppa:tldm217/gofris

ppa:tldm217 / gofris

We need to add the above repository to install properly. Pop open a terminal and enter the following command:

我们需要添加上述存储库以正确安装。 弹出一个终端,然后输入以下命令:

sudo add-apt-repository ppa:tldm217/gofris

sudo add-apt-repository ppa:tldm217 / gofris

Then update your sources:

然后更新您的来源:

sudo apt-get update

sudo apt-get更新

And finally, we can install the proper English-language package:

最后,我们可以安装适当的英语软件包:

sudo apt-get install gofris-en

sudo apt-get install gofris-en

Be sure the package ends in an “-en” because the default package is in Indonesian. All done! Now, you can launch Gofris by going to Applications > System Tools > GOFRIS.

确保软件包以“ -en”结尾,因为默认软件包是印度尼西亚语。 全做完了! 现在,您可以通过转到应用程序>系统工具> GOFRIS来启动Gofris。

launch

If things aren’t configured just right, then now is the time to do it.

如果配置不正确,那么现在是时候这样做了。

锁定与解锁 (Locking and Unlocking)

Click on the Gofris icon.

单击Gofris图标。

lock this user

You have to choice of locking the current user, another specific user, or all users. Since I’m on a multi-user system, I locked just my account. Gofris will ask for a password so enter it, and you’ll be notified that you need to restart for the changes to take effect.

您必须选择锁定当前用户,另一个特定用户或所有用户。 由于我使用的是多用户系统,因此我仅锁定了我的帐户。 Gofris会要求您输入密码,因此请输入密码,然后会通知您需要重新启动以使更改生效。

重启后…… (And After a Restart…)

Here’s a shot of before I messed up my system.

这是我弄乱系统之前的快照。

before

After a minute or so with it, it ended up looking like this:

大约一分钟后,它看起来像这样:

after

And, after a quick restart, it’s back to normal:

并且,在快速重启之后,它又恢复了正常:

after again

It’s that simple! When you install packages and perform system updates, you’ll be required to enter the root password and those changes will carry through. As far as your Home directory goes, though, whether you make changes with or without “sudo” things will still revert back.

就这么简单! 当您安装软件包并执行系统更新时,将需要输入root密码,并且这些更改将保留下来。 不过,就您的主目录而言,无论您是否使用“ sudo”进行更改,都将恢复原状。

When you’re ready to make changes, be careful, as all changes from this session will go through. It’s a good idea to restart before you make any changes. Click on the Gofris icon and choose “Unlock this user” to unlock. You won’t have to restart again until you lock the account.

当您准备进行更改时,请小心,因为此会话中的所有更改都将进行。 在进行任何更改之前,重新启动是个好主意。 单击Gofris图标,然后选择“解锁此用户”进行解锁。 锁定帐户之前,无需重新启动。

便条纸 (A Natty Note)

At the moment, Gofris has not been updated for Natty at the moment, and having tried it on the Beta, it doesn’t seem to work. If you’re still running Maverick or if you stuck with Lucid for the long haul, then you’re good to go. If you’re running Natty’s beta on your main system, like me, then let’s hope for a speedy update.

目前,Gofris尚未针对Natty进行更新,并且已经在Beta版中进行了尝试,因此似乎无法正常工作。 如果您仍在运行Maverick或长时间坚持使用Lucid,那么您就很好了。 如果您像我一样在主系统上运行Natty的Beta,那么我们希望能进行快速更新。

I’ve been using Gofris for a few weeks on a netbook I gave to my parents, who don’t really know how to use Ubuntu, and for the guest account on my primary PC, until I updated to the Natty Beta. Have a few particular uses of your own? Share them in the comments!

我在给父母的上网本上使用Gofris已有几周时间了,他们真的不知道如何使用Ubuntu,并且在我的主PC上作为访客帐户使用,直到我更新到Natty Beta。 有自己的一些特殊用途吗? 在评论中分享他们!

翻译自: https://www.howtogeek.com/59839/how-to-reset-any-changes-to-your-ubuntu-computer-and-add-kiosk-mode/

ubuntu更改计算机名字

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值