Orange Pi Manual Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
24
www.xunlong.tv
4)
$ mv /home/ornagepi /home/zhangsan Change directory of original
orangepi
5)
$ usermod -d /home/orangepi orangepi Set this directory to
orangepi user's home directory
6)
$ cat /etc/passwd It should be shown as below:
After the modification of the above iterms, it can be used the new
account Zhangsan to land.
b.
Set the U disk automatically mount
1). sudo apt-get install usbmount
2). sudo vim /etc/udev/rules.d/automount.rules
ACTION=="add",KERNEL=="sdb*", RUN+="/usr/bin/pmount --sync
--umask 000 %k"
ACTION=="remove", KERNEL=="sdb*",
RUN+="/usr/bin/pumount %k"
ACTION=="add",KERNEL=="sdc*", RUN+="/usr/bin/pmount --sync
--umask 000 %k"
ACTION=="remove", KERNEL=="sdc*",
RUN+="/usr/bin/pumount %k"
3). udevadm control–reload-rules
You could refer to this link: