/images/avatar.jpg
杂七杂八的,随手记录。

六月读书笔记

Table of Contents

1 亵渎

时过境迁,十九年后重读此书,完全没有了当时追书的快乐,只有面对命运洪流时的困苦与无奈,以及,深藏其中的,一点点希望。

2 源代码

看着也比较又感触,还专门给孩子买了一本纸质书,当作暑假的阅读材料。

亵渎-烟雨江南

  • 207-209, 标注, 2025 年 5 月 26 日星期一 下午 12:45:07

    我已经太多的烙上了这个世界的印记,所能做到的只是毁灭。也许对这个世界来说,创造才是最重要的。当一个苹果跳入棋盘,并开始横冲直撞时,对整局棋的影响,比一个跳出棋盘的棋子,要大的多吧。”

源代码xo

  • 248-250, 标注, 2025 年 6 月 24 日星期二 下午 9:23:32

    玩纸牌教会我:无论某些事情看起来多复杂、多神秘,我们通常都能最终琢磨出个究竟。这个世界是可以被理解的。我出生于 1955 年 10 月 28 日,在家里

how to create alias for user in Linux

here:

https://unix.stackexchange.com/questions/758076/how-to-effectively-alias-a-user-on-linux

Users can share their UID, giving them the same user permissions.

Some quick testing reveals that no matter which alias you are logged in as, the system will recognize you as the first user which matches the UID from the passwd database (normally /etc/passwd but can be elsewhere in advanced setups).

I have not seen that groups behave the same way, each alias needs to be added to each group explicitly. It would seem that while users are mapped from UID, the groups look to be mapped from the name (check the contents of /etc/group to get a sense of what I mean).