Add user avs and add root/avs password
This commit is contained in:
parent
b7a09ed8ad
commit
26f28e736d
|
@ -0,0 +1,48 @@
|
||||||
|
root:x:0:
|
||||||
|
daemon:x:1:
|
||||||
|
bin:x:2:
|
||||||
|
sys:x:3:
|
||||||
|
adm:x:4:
|
||||||
|
tty:x:5:
|
||||||
|
disk:x:6:
|
||||||
|
lp:x:7:
|
||||||
|
mail:x:8:
|
||||||
|
news:x:9:
|
||||||
|
uucp:x:10:
|
||||||
|
man:x:12:
|
||||||
|
proxy:x:13:
|
||||||
|
kmem:x:15:
|
||||||
|
input:x:19:
|
||||||
|
dialout:x:20:
|
||||||
|
fax:x:21:
|
||||||
|
voice:x:22:
|
||||||
|
cdrom:x:24:
|
||||||
|
floppy:x:25:
|
||||||
|
tape:x:26:
|
||||||
|
sudo:x:27:
|
||||||
|
audio:x:29:avs
|
||||||
|
dip:x:30:
|
||||||
|
www-data:x:33:
|
||||||
|
backup:x:34:
|
||||||
|
operator:x:37:
|
||||||
|
list:x:38:
|
||||||
|
irc:x:39:
|
||||||
|
src:x:40:
|
||||||
|
gnats:x:41:
|
||||||
|
shadow:x:42:
|
||||||
|
utmp:x:43:
|
||||||
|
video:x:44:avs
|
||||||
|
sasl:x:45:
|
||||||
|
plugdev:x:46:
|
||||||
|
staff:x:50:
|
||||||
|
games:x:60:
|
||||||
|
shutdown:x:70:
|
||||||
|
users:x:100:
|
||||||
|
nogroup:x:65534:
|
||||||
|
rpc:x:999:
|
||||||
|
netdev:x:998:avs
|
||||||
|
messagebus:x:997:
|
||||||
|
rpcuser:x:996:
|
||||||
|
lock:x:995:
|
||||||
|
systemd-journal:x:994:avs
|
||||||
|
avs:x:1000:
|
|
@ -0,0 +1,22 @@
|
||||||
|
root:x:0:0:root:/home/root:/bin/bash
|
||||||
|
daemon:x:1:1:daemon:/usr/sbin:/bin/false
|
||||||
|
bin:x:2:2:bin:/bin:/bin/false
|
||||||
|
sys:x:3:3:sys:/dev:/bin/false
|
||||||
|
sync:x:4:65534:sync:/bin:/bin/sync
|
||||||
|
games:x:5:60:games:/usr/games:/bin/false
|
||||||
|
man:x:6:12:man:/var/cache/man:/bin/false
|
||||||
|
lp:x:7:7:lp:/var/spool/lpd:/bin/false
|
||||||
|
mail:x:8:8:mail:/var/mail:/bin/false
|
||||||
|
news:x:9:9:news:/var/spool/news:/bin/false
|
||||||
|
uucp:x:10:10:uucp:/var/spool/uucp:/bin/false
|
||||||
|
proxy:x:13:13:proxy:/bin:/bin/false
|
||||||
|
www-data:x:33:33:www-data:/var/www:/bin/false
|
||||||
|
backup:x:34:34:backup:/var/backups:/bin/false
|
||||||
|
list:x:38:38:Mailing List Manager:/var/list:/bin/false
|
||||||
|
irc:x:39:39:ircd:/var/run/ircd:/bin/false
|
||||||
|
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/false
|
||||||
|
nobody:x:65534:65534:nobody:/nonexistent:/bin/false
|
||||||
|
rpc:x:999:999::/:/bin/false
|
||||||
|
messagebus:x:998:997::/var/lib/dbus:/bin/false
|
||||||
|
rpcuser:x:997:996::/var/lib/nfs:/bin/false
|
||||||
|
avs:x:1000:1000:Linux User,,,:/home/avs:/bin/bash
|
|
@ -1,7 +1,7 @@
|
||||||
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
|
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
|
||||||
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
|
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
|
||||||
|
|
||||||
PATH="/usr/local/bin:/usr/bin:/bin"
|
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/data/usr/sbin:/data/usr/bin"
|
||||||
EDITOR="vi" # needed for packages like cron, git-commit
|
EDITOR="vi" # needed for packages like cron, git-commit
|
||||||
test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc.
|
test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
root:$6$yLuU4hZxRqb8eOgT$lEzn8sGWFEh9rpqLbKxhO0WXM7RaXLhgOtvz6mDPRNYfYntQJ24.38iBjY1wJ5TtFZGI5DKKUqzb8PyTw.3gJ/:19208:0:99999:7:::
|
||||||
|
daemon:*:19170:0:99999:7:::
|
||||||
|
bin:*:19170:0:99999:7:::
|
||||||
|
sys:*:19170:0:99999:7:::
|
||||||
|
sync:*:19170:0:99999:7:::
|
||||||
|
games:*:19170:0:99999:7:::
|
||||||
|
man:*:19170:0:99999:7:::
|
||||||
|
lp:*:19170:0:99999:7:::
|
||||||
|
mail:*:19170:0:99999:7:::
|
||||||
|
news:*:19170:0:99999:7:::
|
||||||
|
uucp:*:19170:0:99999:7:::
|
||||||
|
proxy:*:19170:0:99999:7:::
|
||||||
|
www-data:*:19170:0:99999:7:::
|
||||||
|
backup:*:19170:0:99999:7:::
|
||||||
|
list:*:19170:0:99999:7:::
|
||||||
|
irc:*:19170:0:99999:7:::
|
||||||
|
gnats:*:19170:0:99999:7:::
|
||||||
|
nobody:*:19170:0:99999:7:::
|
||||||
|
rpc:!:19170::::::
|
||||||
|
messagebus:!:19170::::::
|
||||||
|
rpcuser:!:19170::::::
|
||||||
|
avs:$6$dLGu/euRS15OnPPg$EDZtpfQ3oYCb8.GeBInm4.2y2ZPFtUs6/L4tTs9H6wJTXDaXmqJFrOZ1YJ0Poxop8XoAhuLezcZd5lnTLsZz/0:19208:0:99999:7:::
|
|
@ -21,12 +21,17 @@ SRC_URI = "file://rotation \
|
||||||
file://issue.net \
|
file://issue.net \
|
||||||
file://issue \
|
file://issue \
|
||||||
file://usbd \
|
file://usbd \
|
||||||
|
file://shadow \
|
||||||
|
file://passwd \
|
||||||
|
file://group \
|
||||||
file://share/dot.bashrc \
|
file://share/dot.bashrc \
|
||||||
file://share/dot.profile \
|
file://share/dot.profile \
|
||||||
file://licenses/GPL-2 \
|
file://licenses/GPL-2 \
|
||||||
"
|
"
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
|
DEPENDS = "base-passwd"
|
||||||
|
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
docdir_append = "/${P}"
|
docdir_append = "/${P}"
|
||||||
|
@ -115,6 +120,10 @@ do_install () {
|
||||||
install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
|
install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
install -m 0644 ${WORKDIR}/shadow ${D}${sysconfdir}/shadow
|
||||||
|
install -m 0644 ${WORKDIR}/group ${D}${sysconfdir}/group
|
||||||
|
install -m 0644 ${WORKDIR}/passwd ${D}${sysconfdir}/passwd
|
||||||
|
|
||||||
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
|
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
|
||||||
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
|
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
|
||||||
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
|
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
|
||||||
|
|
Loading…
Reference in New Issue