mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add modify users
This commit is contained in:
parent
4a5d3baa8e
commit
55e6ee3449
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ _user_management() {
|
||||||
# add normal users
|
# add normal users
|
||||||
_USERS="Superuser root $(grep 'x:10[0-9][0-9]' ${_DESTDIR}/etc/passwd | cut -d : -f 3,5 | sed -e 's: :#:g' | sed -e 's#:# #g')"
|
_USERS="Superuser root $(grep 'x:10[0-9][0-9]' ${_DESTDIR}/etc/passwd | cut -d : -f 3,5 | sed -e 's: :#:g' | sed -e 's#:# #g')"
|
||||||
while [[ -z "${_USERS}" ]]; do
|
while [[ -z "${_USERS}" ]]; do
|
||||||
_dialog --title " Setup ${_USERS} " --no-cancel --inputbox "Enter a comment eg. your Full Name" 8 40 "" 2>"${_ANSWER}" || return 1
|
_dialog --title " Modify Users " --menu "" 15 40 10 ${_USERS} 2>"${_ANSWER}" || return 1
|
||||||
_USER=$(cat "${_ANSWER}")
|
_USER=$(cat "${_ANSWER}")
|
||||||
done
|
done
|
||||||
if [[ "${_FILE}" = "1" ]]; then
|
if [[ "${_FILE}" = "1" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue