Command to change the default home directory of a user

后端 未结 6 1126
轻奢々
轻奢々 2020-12-07 08:00

I would like to know whether there is any simple shell command to change the user home directory in Linux/Unix (one similar to chsh which changes the defaul

6条回答
  •  孤城傲影
    2020-12-07 08:09

    In case other readers look for information on the adduser command.

    Edit /etc/adduser.conf

    Set DHOME variable

提交回复
热议问题