Broadband Related > Broadband Hardware
VMG1312-B10D new Web GUI 2.0 on V5.13(AAXA.8)C0?
tiffy:
Went ahead and re-loaded V.5.13(AAXA.8)C0 FW.
Listing of /var directory: (apologies for the format, just a copy from Win cmd window)
$ chdir /var
$ ls
cache log ppp spool
cert mcpd_igmp.conf ptmx state
dhcp6s.conf mcpd_mld.conf public_key.pem syslog-ng.conf
dnsmasq mdkshell_sock radvd_br0.conf tmp
fuse modules.alias run tx
fw modules.dep samba udhcpd
group modules.symbols shadow url_list
home mount shadow- usb
iproute2 net-snmp shm_size wwan
lib passwd siproxd zebra
lock passwd- snmpd.conf
There is indeed a "shadow" file (and a shadow- file) but I can't cat/open as per the "passwd" file, permission denied.
I did login to Busybox as "supervisor", perhaps "root" access would work ?
jelv:
Wrap it in code tags (the # button in the toolbar)
--- Code: ---$ chdir /var
$ ls
cache log ppp spool
cert mcpd_igmp.conf ptmx state
dhcp6s.conf mcpd_mld.conf public_key.pem syslog-ng.conf
dnsmasq mdkshell_sock radvd_br0.conf tmp
fuse modules.alias run tx
fw modules.dep samba udhcpd
group modules.symbols shadow url_list
home mount shadow- usb
iproute2 net-snmp shm_size wwan
lib passwd siproxd zebra
lock passwd- snmpd.conf
--- End code ---
jelv:
I've tried to upgrade mine but got the attached. I'm currently on .7.
Any ideas?
tiffy:
--- Quote ---There is indeed a "shadow" file (and a shadow- file) but I can't cat/open as per the "passwd" file, permission denied.
I did login to Busybox as "supervisor", perhaps "root" access would work ?
--- End quote ---
To answer my own question, yes, root access did permit listing of the "shadow" file, as below:
# cat /var/shadow
root:$6$xLQ5LS29AWQ3PFyY$xx/.yhjeBLVjz5hnZWekoEB/RyOWlOgX26gEBYML.C2D7TglGub7ibZ
F.1R.YVxFP5YdqDg.DxQ/FediPQ7Ip.:0::::::
supervisor:$6$ockB3m/vx9pPP0lf$BY6lRm1W9.hDMzVtDZPxdI40Oo.Wr.P.ybMrtrd4MJOwpEEFW
LtO/EGjbcPsjG/ANwomEiJnBrsO.mPFh/KPH/:0::::::
admin:$6$xstsmqPExqn6Omf7$mj0Ty1xsy88MMU7FJs/5u9U9nrniZlfUGjw6CXbwIMAwnk.Pl0xBx4
FYoa4UWwJS0gfeWtpigD60/IA2SbwtG.:0::::::
The encrypted character string format looks different to me from that produced by FW revision V.5.13(AAXA.5), I'am sure b*cat can give a more informed opinion on that.
burakkucat:
--- Quote from: tiffy on November 02, 2018, 08:26:24 PM ---There is indeed a "shadow" file (and a shadow- file) but I can't cat/open as per the "passwd" file, permission denied.
I did login to Busybox as "supervisor", perhaps "root" access would work ?
--- End quote ---
The permissions on that file will be 0000 and that explains why only root wil be able to read its contents. The shadow- file is the immediate chronological predecessor of the shadow file.
You might be interested to see what a ls -l /var/*- command discloses. :)
On a system using a Linux kernel, I see the following (in the /etc/ directory) --
[Duo2 etc]$ ls -l passwd* group* *shadow*
-rw-r--r--. 1 root root 938 Oct 13 2017 group
-rw-r--r--. 1 root root 949 Oct 13 2017 group-
----------. 1 root root 776 Oct 13 2017 gshadow
----------. 1 root root 784 Oct 13 2017 gshadow-
-rw-r--r--. 1 root root 1654 Oct 13 2017 passwd
-rw-r--r--. 1 root root 1689 Oct 13 2017 passwd-
----------. 1 root root 1134 Oct 13 2017 shadow
----------. 1 root root 1256 Oct 13 2017 shadow-
[Duo2 etc]$
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version