His Masters' Voices Wiki

よろずのことの書き残し

ユーザ用ツール

サイト用ツール


nas:readynas_duo_v2_openwrt_useradd

**文書の過去の版を表示しています。**

[ReadyNas Duo v2][OpenWrt] 一般ユーザーを追加する

概要

はじめOpenWrtにはrootユーザーしかないようなので、一般ユーザーを追加できるようにする。

fstabもそうだったが、OrenWrt は多くのUNIX/Linuxシステムとはお作法が違うようである。

User Configuration https://openwrt.org/docs/guide-user/base-system/users

OpenWrtが組み込み機器用のディストロであるので、普通のUNIX/Linuxのようなコマンドを使うやり方はディスク容量を喰うためこんな形をとっているらしい。
ReadyNASはもともとNASなので、HDD容量はふんだんにあるの。
追加パッケージをインストールして伝統的なやり方でユーザー追加できるようにしようと思う。

手順

opkg update
opkg install shadow-useradd
opkg install shadow-groupadd
opkg install shadow-usermod
opkg install shadow-su
opkg install sudo
nas/readynas_duo_v2_openwrt_useradd.1653732356.txt.gz · 最終更新: 2022/05/28 19:05 by nipa28