Page 1 of 2
Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 7:34 am
by coyote2009
Добрый день, прошу помощи.
В общем нужно было для одного скрипта привязать путь к кодировщикам видео, по советам одного человека я начал предоставлять доступ пользователю admin права на папки. В итоге что то пошло не так. Теперь не могу зайти в панель под admin.
Пробовал сбрасывать пароль от admin командами:
Code: Select all
v-change-user-password admin ххххххх
не помогает. не могу залогиниться и по ftp теперь нет подключения.
До проблемы вводил эти команды, потом пробовал исправить но ничего не помогает.
Code: Select all
chown www-data:www-data /usr/local/bin/*
chown root:root /usr/local/bin/*
chmod a+rx /usr/local/bin/*
ls -lah /usr/bin/
chown root:www-data /usr/local/bin/*
chown root:www-data /usr/bin/
chown admin:www-data /usr/bin/*
chown -R root:root /usr/local/bin
chmod 755 /usr/bin/
Что можно сделать в этом случае? Как сбросить пароль и попасть в панель?
Мне хотя бы бекап новый сделать бд и файлов, а то бекапы только старые на сервере лежат
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 8:53 am
by gmalets
Бекап надо было делать ДО, а не после того, как вы делали то, о чем не имеете представления
Могу вам листинг своей директории предоставить, если хотите.
/usr/bin/
dr-xr-xr-x root root
Code: Select all
total 168352
dr-xr-xr-x root root .
drwxr-xr-x root root ..
-rwxr-xr-x root root [
-rwxr-xr-x root root a2p
-rwxr-xr-x root root ab
-rwxr-xr-x root root addr2line
-rwxr-xr-x root root alias
-rwxr-xr-x root root animate
lrwxrwxrwx root root apropos -> whatis
-rwxr-xr-x root root ar
-rwxr-xr-x root root arch
-rwxr-xr-x root root aria_chk
-rwxr-xr-x root root aria_dump_log
-rwxr-xr-x root root aria_ftdump
-rwxr-xr-x root root aria_pack
-rwxr-xr-x root root aria_read_log
-rwxr-xr-x root root as
-rwxr-xr-x root root aserver
-rwxr-xr-x root root aulast
-rwxr-xr-x root root aulastlog
-rwxr-xr-x root root ausyscall
-rwxr-xr-x root root autoexpect
-rwxr-xr-x root root auvirt
lrwxrwxrwx root root awk -> gawk
-rwxr-xr-x root root base64
-rwxr-xr-x root root basename
-rwxr-xr-x root root bash
lrwxrwxrwx root root bashbug -> bashbug-64
-rwxr-xr-x root root bashbug-64
-rwxr-xr-x root root bc
-rwxr-xr-x root root bdftopcf
-rwxr-xr-x root root bdftruncate
-rwxr-xr-x root root bg
-rwxr-xr-x root root bond2team
-rwxr-xr-x root root bootctl
-rwxr-xr-x root root busctl
-rwxr-xr-x root root c++filt
-rwxr-xr-x root root c2ph
-rwxr-xr-x root root ca-legacy
-rwxr-xr-x root root cairo-sphinx
-rwxr-xr-x root root cal
lrwxrwxrwx root root captoinfo -> tic
-rwxr-xr-x root root cat
-rwxr-xr-x root root catchsegv
-rwxr-xr-x root root catman
-rwxr-xr-x root root cd
-rwxr-xr-x root root centrino-decode
-rwxr-xr-x root root certutil
-rwxr-xr-x root root chacl
-rwsr-xr-x root root chage
-rwxr-xr-x root root chattr
-rwxr-xr-x root root chcon
-rws--x--x root root chfn
-rwxr-xr-x root root chgrp
-rwxr-xr-x root root chmem
-rwxr-xr-x root root chmod
-rwxr-xr-x root root chown
-rwxr-xr-x root root chrt
-rws--x--x root root chsh
-rwxr-xr-x root root chvt
-rwxr-xr-x root root cksum
-rwxr-xr-x root root clear
-rwxr-xr-x root root cmp
-rwxr-xr-x root root cmsutil
-rwxr-xr-x root root col
-rwxr-xr-x root root colcrt
-rwxr-xr-x root root colrm
-rwxr-xr-x root root column
-rwxr-xr-x root root comm
-rwxr-xr-x root root command
-rwxr-xr-x root root compare
-rwxr-xr-x root root composer
-rwxr-xr-x root root composite
-rwxr-xr-x root root conjure
-rwxr-xr-x root root convert
-rwxr-xr-x root root coredumpctl
-rwxr-xr-x root root cp
-rwxr-xr-x root root cpio
-rwxr-xr-x root root cpupower
-rwxr-xr-x root root crlutil
-rwsr-xr-x root root crontab
-rwxr-xr-x root root csplit
-rwxr-xr-x root root csslint-0.6
-rwxr-xr-x root root curl
-rwxr-xr-x root root cut
-rwxr-xr-x root root date
-rwxr-xr-x root root db_archive
-rwxr-xr-x root root db_checkpoint
-rwxr-xr-x root root db_deadlock
-rwxr-xr-x root root db_dump
-rwxr-xr-x root root db_dump185
-rwxr-xr-x root root db_hotbackup
-rwxr-xr-x root root db_load
-rwxr-xr-x root root db_log_verify
-rwxr-xr-x root root db_printlog
-rwxr-xr-x root root db_recover
-rwxr-xr-x root root db_replicate
-rwxr-xr-x root root db_stat
-rwxr-xr-x root root db_tuner
-rwxr-xr-x root root db_upgrade
-rwxr-xr-x root root db_verify
-rwxr-xr-x root root dbilogstrip
-rwxr-xr-x root root dbiprof
-rwxr-xr-x root root dbiproxy
-rwxr-xr-x root root dbus-binding-tool
-rwxr-xr-x root root dbus-cleanup-sockets
-rwxr-xr-x root root dbus-daemon
-rwxr-xr-x root root dbus-monitor
-rwxr-xr-x root root dbus-run-session
-rwxr-xr-x root root dbus-send
-rwxr-xr-x root root dbus-test-tool
-rwxr-xr-x root root dbus-update-activation-environment
-rwxr-xr-x root root dbus-uuidgen
-rwxr-xr-x root root dc
-rwxr-xr-x root root dd
-rwxr-xr-x root root deallocvt
-rwxr-xr-x root root df
-rwxr-xr-x root root dgawk
-rwxr-xr-x root root diff
-rwxr-xr-x root root diff3
-rwxr-xr-x root root dig
-rwxr-xr-x root root dir
-rwxr-xr-x root root dircolors
-rwxr-xr-x root root dirname
-rwxr-xr-x root root dislocate
-rwxr-xr-x root root display
-rwxr-xr-x root root dmesg
lrwxrwxrwx root root dnsdomainname -> hostname
lrwxrwxrwx root root domainname -> hostname
-rwxr-xr-x root root dracut
-rwxr-xr-x root root du
-rwxr-xr-x root root dumpkeys
-rwxr-xr-x root root dvipdf
-rwxr-xr-x root root dwp
-rwxr-xr-x root root echo
-rwxr-xr-x root root egrep
-rwxr-xr-x root root eject
-rwxr-xr-x root root elfedit
-rwxr-xr-x root root env
-rwxr-xr-x root root envsubst
-rwxr-xr-x root root eps2eps
-rwxr-xr-x root root eqn
lrwxrwxrwx root root ex -> vi
-rwxr-xr-x root root expand
-rwxr-xr-x root root expect
-rwxr-xr-x root root expr
-rwxr-xr-x root root factor
-rwxr-xr-x root root fail2ban-client
lrwxrwxrwx root root fail2ban-python -> /usr/bin/python
-rwxr-xr-x root root fail2ban-regex
-rwxr-xr-x root root fail2ban-server
-rwxr-xr-x root root false
-rwxr-xr-x root root fallocate
-rwxr-xr-x root root fc
-rwxr-xr-x root root fc-cache
-rwxr-xr-x root root fc-cat
-rwxr-xr-x root root fc-list
-rwxr-xr-x root root fc-match
-rwxr-xr-x root root fc-pattern
-rwxr-xr-x root root fc-query
-rwxr-xr-x root root fc-scan
-rwxr-xr-x root root fc-validate
-rwxr-xr-x root root fg
-rwxr-xr-x root root fgconsole
-rwxr-xr-x root root fgrep
-rwxr-xr-x root root file
-rwxr-xr-x root root find
-rwxr-xr-x root root find2perl
-rwxr-xr-x root root findmnt
-rwxr-xr-x root root fipscheck
-rwxr-xr-x root root fipshmac
-rwxr-xr-x root root firewall-cmd
-rwxr-xr-x root root firewall-offline-cmd
-rwxr-xr-x root root flex
lrwxrwxrwx root root flex++ -> flex
-rwxr-xr-x root root flock
-rwxr-xr-x root root fmt
-rwxr-xr-x root root fold
-rwxr-xr-x root root font2c
-rwxr-xr-x root root fonttosfnt
-rwxr-xr-x root root free
-rwxr-xr-x root root ftp
-rwxr-xr-x root root ftp-rfc
-rwxr-xr-x root root funzip
-rwxr-xr-x root root gapplication
-rwxr-xr-x root root gawk
-rwxr-xr-x root root gdbus
-rwxr-xr-x root root gdk-pixbuf-query-loaders-64
-rwxr-xr-x root root gdk-pixbuf-thumbnailer
-rwxr-xr-x root root gencat
-rwxr-xr-x root root genl-ctrl-list
-rwxr-xr-x root root geoiplookup
-rwxr-xr-x root root geoiplookup6
-rwxr-xr-x root root geoipupdate
lrwxrwxrwx root root geqn -> eqn
-rwxr-xr-x root root GET
-rwxr-xr-x root root getconf
-rwxr-xr-x root root getent
-rwxr-xr-x root root getfacl
-rwxr-xr-x root root getkeycodes
-rwxr-xr-x root root getopt
-rwxr-xr-x root root getopts
-rwxr-xr-x root root gettext
-rwxr-xr-x root root gettext.sh
lrwxrwxrwx root root ghostscript -> gs
-rwxr-xr-x root root gio
-rwxr-xr-x root root gio-querymodules-64
-rwxr-xr-x root root glib-compile-schemas
lrwxrwxrwx root root gmake -> make
lrwxrwxrwx root root gneqn -> neqn
lrwxrwxrwx root root gnroff -> nroff
-rwsr-xr-x root root gpasswd
lrwxrwxrwx root root gpg -> gpg2
-rwxr-xr-x root root gpg-agent
-rwxr-xr-x root root gpg-connect-agent
-rwxr-xr-x root root gpg-error
-rwxr-xr-x root root gpg-zip
-rwxr-xr-x root root gpg2
-rwxr-xr-x root root gpgconf
-rwxr-xr-x root root gpgparsemail
-rwxr-xr-x root root gpgsplit
lrwxrwxrwx root root gpgv -> gpgv2
-rwxr-xr-x root root gpgv2
lrwxrwxrwx root root gpic -> pic
-rwxr-xr-x root root gprof
-rwxr-xr-x root root gr2fonttest
-rwxr-xr-x root root grep
-rwxr-xr-x root root groff
-rwxr-xr-x root root grops
-rwxr-xr-x root root grotty
-rwxr-xr-x root root groups
-rwxr-xr-x root root grub2-editenv
-rwxr-xr-x root root grub2-file
-rwxr-xr-x root root grub2-fstest
-rwxr-xr-x root root grub2-glue-efi
-rwxr-xr-x root root grub2-kbdcomp
-rwxr-xr-x root root grub2-menulst2cfg
-rwxr-xr-x root root grub2-mkfont
-rwxr-xr-x root root grub2-mkimage
-rwxr-xr-x root root grub2-mklayout
-rwxr-xr-x root root grub2-mknetdir
-rwxr-xr-x root root grub2-mkpasswd-pbkdf2
-rwxr-xr-x root root grub2-mkrelpath
-rwxr-xr-x root root grub2-mkrescue
-rwxr-xr-x root root grub2-mkstandalone
-rwxr-xr-x root root grub2-render-label
-rwxr-xr-x root root grub2-script-check
-rwxr-xr-x root root grub2-syslinux2cfg
-rwxr-xr-x root root gs
-rwxr-xr-x root root gsbj
-rwxr-xr-x root root gsdj
-rwxr-xr-x root root gsdj500
-rwxr-xr-x root root gsettings
-rwxr-xr-x root root gslj
-rwxr-xr-x root root gslp
-rwxr-xr-x root root gsnd
lrwxrwxrwx root root gsoelim -> soelim
lrwxrwxrwx root root gtar -> tar
lrwxrwxrwx root root gtbl -> tbl
lrwxrwxrwx root root gtroff -> troff
-rwxr-xr-x root root gunzip
-rwxr-xr-x root root gzexe
-rwxr-xr-x root root gzip
-rwxr-xr-x root root h2ph
-rwxr-xr-x root root hdsploader
-rwxr-xr-x root root head
-rwxr-xr-x root root HEAD
-rwxr-xr-x root root hexdump
-rwxr-xr-x root root host
-rwxr-xr-x root root hostid
-rwxr-xr-x root root hostname
-rwxr-xr-x root root hostnamectl
-rwxr-xr-x root root htdbm
-rwxr-xr-x root root htdigest
-rwxr-xr-x root root htop
-rwxr-xr-x root root htpasswd
-rwxr-xr-x root root httxt2dbm
lrwxrwxrwx root root i386 -> setarch
-rwxr-xr-x root root iconv
-rwxr-xr-x root root id
-rwxr-xr-x root root identify
-rwxr-xr-x root root idiag-socket-details
-rwxr-xr-x root root idn
-rwxr-xr-x root root igawk
-rwxr-xr-x root root import
-rwxr-xr-x root root info
-rwxr-xr-x root root infocmp
-rwxr-xr-x root root infokey
lrwxrwxrwx root root infotocap -> tic
-rwxr-xr-x root root innochecksum
-rwxr-xr-x root root install
-rwxr-xr-x root root ionice
-rwxr-xr-x root root ipcalc
-rwxr-xr-x root root ipcmk
-rwxr-xr-x root root ipcount
-rwxr-xr-x root root ipcrm
-rwxr-xr-x root root ipcs
-rwxr-xr-x root root iptab
lrwxrwxrwx root root iptables-xml -> /usr/sbin/xtables-multi
-rwxr-xr-x root root isosize
-rwxr-xr-x root root jobs
-rwxr-xr-x root root join
-rwxr-xr-x root root journalctl
-rwxr-xr-x root root jsonlint-php
-rwxr-xr-x root root jwhois
-rwxr-xr-x root root kbd_mode
-rwxr-xr-x root root kbdinfo
-rwxr-xr-x root root kbdrate
-rwxr-xr-x root root kdumpctl
-rwxr-xr-x root root kernel-install
-rwxr-xr-x root root kibitz
-rwxr-xr-x root root kill
-rwxr-xr-x root root kmod
-rwxr-xr-x root root last
lrwxrwxrwx root root lastb -> last
-rwxr-xr-x root root lastlog
-rwxr-xr-x root root lchfn
-rwxr-xr-x root root lchsh
lrwxrwxrwx root root ld -> /etc/alternatives/ld
-rwxr-xr-x root root ld.bfd
-rwxr-xr-x root root ld.gold
-rwxr-xr-x root root ldd
-rwxr-xr-x root root less
-rwxr-xr-x root root lessecho
-rwxr-xr-x root root lesskey
-rwxr-xr-x root root lesspipe.sh
lrwxrwxrwx root root lex -> flex
-rwxr-xr-x root root lexgrog
-rwxr-xr-x root root link
-rwxr-xr-x root root linux-boot-prober
lrwxrwxrwx root root linux32 -> setarch
lrwxrwxrwx root root linux64 -> setarch
-rwxr-xr-x root root ln
-rwxr-xr-x root root loadkeys
-rwxr-xr-x root root loadunimap
-rwxr-xr-x root root locale
-rwxr-xr-x root root localectl
-rwxr-xr-x root root localedef
-rwx--s--x root slocate locate
-rwxr-xr-x root root logger
-rwxr-xr-x root root login
-rwxr-xr-x root root loginctl
-rwxr-xr-x root root logname
-rwxr-xr-x root root logresolve
-rwxr-xr-x root root look
-rwxr-xr-x root root lprsetup.sh
-rwxr-xr-x root root lpunlock
-rwxr-xr-x root root ls
-rwxr-xr-x root root lsattr
-rwxr-xr-x root root lsblk
-rwxr-xr-x root root lscpu
-rwxr-xr-x root root lsinitrd
-rwxr-xr-x root root lsipc
-rwxr-xr-x root root lslocks
-rwxr-xr-x root root lslogins
-rwxr-xr-x root root lsmem
-rwxr-xr-x root root lsns
-rwxr-xr-x root root lsscsi
-rwxr-xr-x root root lua
-rwxr-xr-x root root luac
-rwxr-xr-x root root lwp-download
-rwxr-xr-x root root lwp-dump
-rwxr-xr-x root root lwp-mirror
-rwxr-xr-x root root lwp-request
-rwxr-xr-x root root lz4
-rwxr-xr-x root root lz4c
lrwxrwxrwx root root lz4cat -> lz4
-rwxr-xr-x root root m4
-rwxr-xr-x root root machinectl
lrwxrwxrwx root root Mail -> ../../bin/mailx
lrwxrwxrwx root root mail -> mailx
lrwxrwxrwx root root mailq -> /etc/alternatives/mta-mailq
lrwxrwxrwx root root mailq.postfix -> ../../usr/sbin/sendmail.postfix
-rwxr-xr-x root root mailx
-rwxr-xr-x root root make
-rwxr-xr-x root root makedb
-rwxr-xr-x root root man
-rwxr-xr-x root root mandb
-rwxr-xr-x root root manpath
-rwxr-xr-x root root mapscrn
-rwxr-xr-x root root mc
lrwxrwxrwx root root mcdiff -> mc
lrwxrwxrwx root root mcedit -> mc
-rwxr-xr-x root root mcookie
lrwxrwxrwx root root mcview -> mc
-rwxr-xr-x root root md5sum
-rwxr-xr-x root root mesg
-rwxr-xr-x root root mixartloader
-rwxr-xr-x root root mkdir
-rwxr-xr-x root root mkfifo
-rwxr-xr-x root root mkfontdir
-rwxr-xr-x root root mkfontscale
-rwxr-xr-x root root mkinitrd
-rwxr-xr-x root root mknod
-rwxr-xr-x root root mkpasswd
-rwxr-xr-x root root mktemp
-rwxr-xr-x root root modutil
-rwxr-xr-x root root mogrify
-rwxr-xr-x root root montage
-rwxr-xr-x root root more
-rwsr-xr-x root root mount
-rwxr-xr-x root root mountpoint
-rwxr-xr-x root root msgattrib
-rwxr-xr-x root root msgcat
-rwxr-xr-x root root msgcmp
-rwxr-xr-x root root msgcomm
-rwxr-xr-x root root msgconv
-rwxr-xr-x root root msgen
-rwxr-xr-x root root msgexec
-rwxr-xr-x root root msgfilter
-rwxr-xr-x root root msgfmt
-rwxr-xr-x root root msggrep
-rwxr-xr-x root root msghack
-rwxr-xr-x root root msginit
-rwxr-xr-x root root msgmerge
-rwxr-xr-x root root msgunfmt
-rwxr-xr-x root root msguniq
-rwxr-xr-x root root msql2mysql
-rwxr-xr-x root root mv
-rwxr-xr-x root root my_print_defaults
-rwxr-xr-x root root myisam_ftdump
-rwxr-xr-x root root myisamchk
-rwxr-xr-x root root myisamlog
-rwxr-xr-x root root myisampack
-rwxr-xr-x root root mysql
-rwxr-xr-x root root mysql_convert_table_format
-rwxr-xr-x root root mysql_find_rows
-rwxr-xr-x root root mysql_fix_extensions
-rwxr-xr-x root root mysql_install_db
-rwxr-xr-x root root mysql_plugin
-rwxr-xr-x root root mysql_secure_installation
-rwxr-xr-x root root mysql_setpermission
-rwxr-xr-x root root mysql_tzinfo_to_sql
-rwxr-xr-x root root mysql_upgrade
-rwxr-xr-x root root mysql_waitpid
-rwxr-xr-x root root mysql_zap
-rwxr-xr-x root root mysqlaccess
-rwxr-xr-x root root mysqladmin
-rwxr-xr-x root root mysqlbinlog
lrwxrwxrwx root root mysqlbug -> /etc/alternatives/mysqlbug
-rwxr-xr-x root root mysqlcheck
-rwxr-xr-x root root mysqld_multi
-rwxr-xr-x root root mysqld_safe
-rwxr-xr-x root root mysqld_safe_helper
-rwxr-xr-x root root mysqldump
-rwxr-xr-x root root mysqldumpslow
-rwxr-xr-x root root mysqlhotcopy
-rwxr-xr-x root root mysqlimport
-rwxr-xr-x root root mysqlshow
-rwxr-xr-x root root mysqlslap
-rwxr-xr-x root root mysqltest
lrwxrwxrwx root root nail -> ../../bin/mailx
-rwxr-xr-x root root namei
-rwxr-xr-x root root nano
-rwxr-xr-x root root ndptool
-rwxr-xr-x root root neqn
-rwxr-xr-x root root netstat
lrwxrwxrwx root root newaliases -> /etc/alternatives/mta-newaliases
lrwxrwxrwx root root newaliases.postfix -> ../../usr/sbin/sendmail.postfix
-rwsr-xr-x root root newgrp
-rwxr-xr-x root root nf-ct-add
-rwxr-xr-x root root nf-ct-list
-rwxr-xr-x root root nf-exp-add
-rwxr-xr-x root root nf-exp-delete
-rwxr-xr-x root root nf-exp-list
-rwxr-xr-x root root nf-log
-rwxr-xr-x root root nf-monitor
-rwxr-xr-x root root nf-queue
-rwxr-xr-x root root ngettext
-rwxr-xr-x root root nice
lrwxrwxrwx root root nisdomainname -> hostname
-rwxr-xr-x root root nl
-rwxr-xr-x root root nl-addr-add
-rwxr-xr-x root root nl-addr-delete
-rwxr-xr-x root root nl-addr-list
-rwxr-xr-x root root nl-class-add
-rwxr-xr-x root root nl-class-delete
-rwxr-xr-x root root nl-class-list
-rwxr-xr-x root root nl-classid-lookup
-rwxr-xr-x root root nl-cls-add
-rwxr-xr-x root root nl-cls-delete
-rwxr-xr-x root root nl-cls-list
-rwxr-xr-x root root nl-fib-lookup
-rwxr-xr-x root root nl-link-enslave
-rwxr-xr-x root root nl-link-ifindex2name
-rwxr-xr-x root root nl-link-list
-rwxr-xr-x root root nl-link-name2ifindex
-rwxr-xr-x root root nl-link-release
-rwxr-xr-x root root nl-link-set
-rwxr-xr-x root root nl-link-stats
-rwxr-xr-x root root nl-list-caches
-rwxr-xr-x root root nl-list-sockets
-rwxr-xr-x root root nl-monitor
-rwxr-xr-x root root nl-neigh-add
-rwxr-xr-x root root nl-neigh-delete
-rwxr-xr-x root root nl-neigh-list
-rwxr-xr-x root root nl-neightbl-list
-rwxr-xr-x root root nl-pktloc-lookup
-rwxr-xr-x root root nl-qdisc-add
-rwxr-xr-x root root nl-qdisc-delete
-rwxr-xr-x root root nl-qdisc-list
-rwxr-xr-x root root nl-route-add
-rwxr-xr-x root root nl-route-delete
-rwxr-xr-x root root nl-route-get
-rwxr-xr-x root root nl-route-list
-rwxr-xr-x root root nl-rule-list
-rwxr-xr-x root root nl-tctree-list
-rwxr-xr-x root root nl-util-addr
-rwxr-xr-x root root nm
-rwxr-xr-x root root nm-online
-rwxr-xr-x root root nmcli
-rwxr-xr-x root root nmtui
lrwxrwxrwx root root nmtui-connect -> nmtui
lrwxrwxrwx root root nmtui-edit -> nmtui
lrwxrwxrwx root root nmtui-hostname -> nmtui
-rwxr-xr-x root root nohup
-rwxr-xr-x root root nproc
-rwxr-xr-x root root nroff
-rwxr-xr-x root root nsenter
-rwxr-xr-x root root nslookup
-rwxr-xr-x root root nsupdate
-rwxr-xr-x root root ntpstat
-rwxr-xr-x root root numfmt
-rwxr-xr-x root root objcopy
-rwxr-xr-x root root objdump
-rwxr-xr-x root root od
-rwxr-xr-x root root oldfind
lrwxrwxrwx root root open -> openvt
-rwxr-xr-x root root openssl
-rwxr-xr-x root root openvt
-rwxr-xr-x root root os-prober
-rwxr-xr-x root root p11-kit
-rwxr-xr-x root root pango-view
-rwxr-xr-x root root passmass
-rwsr-xr-x root root passwd
-rwxr-xr-x root root paste
-rwxr-xr-x root root pathchk
-rwxr-xr-x root root pchrt
-rwxr-xr-x root root pdf2dsc
-rwxr-xr-x root root pdf2ps
-rwxr-xr-x root root perl
-rwxr-xr-x root root perl5.16.3
-rwxr-xr-x root root perlbug
-rwxr-xr-x root root perldoc
-rwxr-xr-x root root perlthanks
-rwxr-xr-x root root perror
-rwxr-xr-x root root pf2afm
-rwxr-xr-x root root pfbtopfa
-rwxr-xr-x root root pflags
lrwxrwxrwx root root pftp -> ftp
-rwxr-xr-x root root pgawk
-rwxr-xr-x root root pgrep
lrwxrwxrwx root root phar -> phar.phar
-rwxr-xr-x root root phar.phar
-rwxr-xr-x root root php
-rwxr-xr-x root root php-cgi
-rwxr-xr-x root root php-phpmyadmin-sql-parser-highlight-query
-rwxr-xr-x root root php-phpmyadmin-sql-parser-lint-query
-rwxr-xr-x root root phpize
-rwxr-xr-x root root pic
-rwxr-xr-x root root piconv
-rwxr-xr-x root root pinentry
-rwxr-xr-x root root pinentry-curses
-rwxr-xr-x root root ping
lrwxrwxrwx root root ping6 -> ping
-rwxr-xr-x root root pinky
-rwxr-xr-x root root pk12util
-rwxr-xr-x root root pkaction
-rwxr-xr-x root root pkcheck
-rwsr-xr-x root root pkexec
-rwxr-xr-x root root pkg-config
-rwxr-xr-x root root pkill
-rwxr-xr-x root root pkla-admin-identities
-rwxr-xr-x root root pkla-check-authorization
-rwxr-xr-x root root pkttyagent
-rwxr-xr-x root root pl2pm
-rwxr-xr-x root root pldd
-rwxr-xr-x root root plymouth
-rwxr-xr-x root root pmap
-rwxr-xr-x root root pod2html
-rwxr-xr-x root root pod2man
-rwxr-xr-x root root pod2text
-rwxr-xr-x root root pod2usage
-rwxr-xr-x root root POST
-rwxr-xr-x root root post-grohtml
-rwxr-xr-x root root powernow-k8-decode
-rwxr-xr-x root root pphs
-rwxr-xr-x root root pr
-rwxr-xr-x root root pre-grohtml
-rwxr-xr-x root root preconv
-rwxr-xr-x root root printafm
-rwxr-xr-x root root printenv
-rwxr-xr-x root root printf
-rwxr-xr-x root root prlimit
-rwxr-xr-x root root ps
-rwxr-xr-x root root ps2ascii
-rwxr-xr-x root root ps2epsi
-rwxr-xr-x root root ps2pdf
-rwxr-xr-x root root ps2pdf12
-rwxr-xr-x root root ps2pdf13
-rwxr-xr-x root root ps2pdf14
-rwxr-xr-x root root ps2pdfwr
-rwxr-xr-x root root ps2ps
-rwxr-xr-x root root ps2ps2
-rwxr-xr-x root root psed
lrwxrwxrwx root root psfaddtable -> psfxtable
lrwxrwxrwx root root psfgettable -> psfxtable
lrwxrwxrwx root root psfstriptable -> psfxtable
-rwxr-xr-x root root psfxtable
-rwxr-xr-x root root pstruct
-rwxr-xr-x root root ptaskset
-rwxr-xr-x root root ptx
-rwxr-xr-x root root pwd
-rwxr-xr-x root root pwdx
-rwxr-xr-x root root pwmake
-rwxr-xr-x root root pwscore
-rwxr-xr-x root root pydoc
lrwxrwxrwx root root python -> python2
lrwxrwxrwx root root python2 -> python2.7
-rwxr-xr-x root root python2.7
-rwxr-xr-x root root ranlib
-rwxr-xr-x root root raw
-rwxr-xr-x root root read
-rwxr-xr-x root root readelf
-rwxr-xr-x root root readlink
-rwxr-xr-x root root realpath
-rwxr-xr-x root root recode
-rwxr-xr-x root root recode-sr-latin
-rwxr-xr-x root root rename
-rwxr-xr-x root root renice
-rwxr-xr-x root root replace
lrwxrwxrwx root root reset -> tset
-rwxr-xr-x root root resizecons
-rwxr-xr-x root root resolve_stack_dump
-rwxr-xr-x root root resolveip
-rwxr-xr-x root root rev
-rwxr-xr-x root root rftp
-rwxr-xr-x root root rlogin-cwd
-rwxr-xr-x root root rm
lrwxrwxrwx root root rmail -> /etc/alternatives/mta-rmail
-rwxr-xr-x root root rmail.postfix
-rwxr-xr-x root root rmdir
lrwxrwxrwx root root rnano -> nano
-rwxr-xr-x root root rpcgen
-rwxr-xr-x root root rpm
-rwxr-xr-x root root rpm2cpio
-rwxr-xr-x root root rpmdb
-rwxr-xr-x root root rpmkeys
lrwxrwxrwx root root rpmquery -> ../../bin/rpm
lrwxrwxrwx root root rpmverify -> ../../bin/rpm
-rwxr-xr-x root root rrdcached
-rwxr-xr-x root root rrdcgi
lrwxrwxrwx root root rrdcreate -> rrdupdate
lrwxrwxrwx root root rrdinfo -> rrdupdate
-rwxr-xr-x root root rrdtool
-rwxr-xr-x root root rrdupdate
-rwxr-xr-x root root rsyslog-recover-qi.pl
-rwxr-xr-x root root run-parts
-rwxr-xr-x root root runcon
lrwxrwxrwx root root rvi -> vi
lrwxrwxrwx root root rview -> vi
-rwxr-xr-x root root s2p
-rwxr-xr-x root root scp
-rwxr-sr-x root screen screen
-rwxr-xr-x root root script
-rwxr-xr-x root root scriptreplay
-rwxr-xr-x root root sdiff
-rwxr-xr-x root root secon
-rwxr-xr-x root root sed
-rwxr-xr-x root root seq
-rwxr-xr-x root root setarch
-rwxr-xr-x root root setfacl
-rwxr-xr-x root root setfont
-rwxr-xr-x root root setkeycodes
-rwxr-xr-x root root setleds
-rwxr-xr-x root root setmetamode
-rwxr-xr-x root root setpriv
-rwxr-xr-x root root setsid
-rwxr-xr-x root root setterm
lrwxrwxrwx root root setup-nsssysinit -> setup-nsssysinit.sh
-rwxr-xr-x root root setup-nsssysinit.sh
-rwxr-xr-x root root setvtrgb
-rwxr-xr-x root root sftp
lrwxrwxrwx root root sg -> newgrp
lrwxrwxrwx root root sh -> bash
-rwxr-xr-x root root sha1sum
-rwxr-xr-x root root sha224sum
-rwxr-xr-x root root sha256sum
-rwxr-xr-x root root sha384sum
-rwxr-xr-x root root sha512sum
-rwxr-xr-x root root shasum
-rwxr-xr-x root root showconsolefont
-rwxr-xr-x root root showkey
-rwxr-xr-x root root shred
-rwxr-xr-x root root shuf
-rwxr-xr-x root root signtool
-rwxr-xr-x root root signver
-rwxr-xr-x root root size
-rwxr-xr-x root root skill
-rwxr-xr-x root root slabtop
-rwxr-xr-x root root sleep
lrwxrwxrwx root root slogin -> ./ssh
-rwxr-xr-x root root snice
-rwxr-xr-x root root soelim
-rwxr-xr-x root root sort
-rwxr-xr-x root root sotruss
-rwxr-xr-x root root splain
-rwxr-xr-x root root split
-rwxr-xr-x root root sprof
-rwxr-xr-x root root sqlite3
-rwxr-xr-x root root ssh
-rwxr-xr-x root root ssh-add
---x--s--x root nobody ssh-agent
-rwxr-xr-x root root ssh-copy-id
-rwxr-xr-x root root ssh-keygen
-rwxr-xr-x root root ssh-keyscan
-rwxr-xr-x root root ssltap
-rwxr-xr-x root root stat
-rwxr-xr-x root root stdbuf
-rwxr-xr-x root root stream
-rwxr-xr-x root root strings
-rwxr-xr-x root root strip
-rwxr-xr-x root root stty
-rwsr-xr-x root root su
---s--x--x root root sudo
lrwxrwxrwx root root sudoedit -> sudo
---x--x--x root root sudoreplay
-rwxr-xr-x root root sum
-rwxr-xr-x root root sync
-rwxr-xr-x root root systemctl
-rwxr-xr-x root root systemd-analyze
-rwxr-xr-x root root systemd-ask-password
-rwxr-xr-x root root systemd-cat
-rwxr-xr-x root root systemd-cgls
-rwxr-xr-x root root systemd-cgtop
lrwxrwxrwx root root systemd-coredumpctl -> coredumpctl
-rwxr-xr-x root root systemd-delta
-rwxr-xr-x root root systemd-detect-virt
-rwxr-xr-x root root systemd-escape
-rwxr-xr-x root root systemd-firstboot
-rwxr-xr-x root root systemd-hwdb
-rwxr-xr-x root root systemd-inhibit
lrwxrwxrwx root root systemd-loginctl -> loginctl
-rwxr-xr-x root root systemd-machine-id-setup
-rwxr-xr-x root root systemd-notify
-rwxr-xr-x root root systemd-nspawn
-rwxr-xr-x root root systemd-path
-rwxr-xr-x root root systemd-run
-rwxr-xr-x root root systemd-stdio-bridge
-rwxr-xr-x root root systemd-sysv-convert
-rwxr-xr-x root root systemd-tmpfiles
-rwxr-xr-x root root systemd-tty-ask-password-agent
-rwxr-xr-x root root tabs
-rwxr-xr-x root root tac
-rwxr-xr-x root root tail
-rwxr-xr-x root root tailf
-rwxr-xr-x root root tar
-rwxr-xr-x root root taskset
-rwxr-xr-x root root tbl
lrwxrwxrwx root root tclsh -> tclsh8.5
-rwxr-xr-x root root tclsh8.5
-rwxr-xr-x root root teamd
-rwxr-xr-x root root teamdctl
-rwxr-xr-x root root teamnl
-rwxr-xr-x root root tee
-rwxr-xr-x root root telnet
-rwxr-xr-x root root test
-rwxr-xr-x root root testgdbm
-rwxr-xr-x root root tic
-rwxr-xr-x root root timed-read
-rwxr-xr-x root root timed-run
-rwxr-xr-x root root timedatectl
-rwxr-xr-x root root timeout
-rwxr-xr-x root root tload
-rwxr-xr-x root root tmon
-rwxr-xr-x root root tmux
-rwxr-xr-x root root toe
-rwxr-xr-x root root top
-rwxr-xr-x root root touch
-rwxr-xr-x root root tput
-rwxr-xr-x root root tr
-rwxr-xr-x root root tracepath
-rwxr-xr-x root root tracepath6
-rwxr-xr-x root root troff
-rwxr-xr-x root root true
-rwxr-xr-x root root truncate
-rwxr-xr-x root root trust
-rwxr-xr-x root root tset
-rwxr-xr-x root root tsort
-rwxr-xr-x root root tty
-rwxr-xr-x root root turbostat
-rwxr-xr-x root root tzselect
-rwxr-xr-x root root ucs2any
-rwxr-xr-x root root udevadm
-rwxr-xr-x root root ul
-rwxr-xr-x root root umask
-rwsr-xr-x root root umount
-rwxr-xr-x root root unalias
-rwxr-xr-x root root uname
-rwxr-xr-x root root unbuffer
-rwxr-xr-x root root unexpand
-rwxr-xr-x root root unicode_start
-rwxr-xr-x root root unicode_stop
-rwxr-xr-x root root uniq
-rwxr-xr-x root root unix-lpr.sh
-rwxr-xr-x root root unlink
lrwxrwxrwx root root unlz4 -> lz4
-rwxr-xr-x root root unshare
lrwxrwxrwx root root unxz -> xz
-rwxr-xr-x root root unzip
-rwxr-xr-x root root unzipsfx
-rwxr-xr-x root root update-ca-trust
-rwxr-xr-x root root update-mime-database
-rwxr-xr-x root root updatedb
-rwxr-xr-x root root uptime
-rwxr-xr-x root root urlgrabber
-rwxr-xr-x root root users
-rwxr-xr-x root root usleep
-rwxr-xr-x root root usx2yloader
-rwxr-xr-x root root utmpdump
-rwxr-xr-x root root uuidgen
-rwxr-xr-x root root validate-json5
-rwxr-xr-x root root vdir
-rwxr-xr-x root root vi
lrwxrwxrwx root root view -> vi
-rwxr-xr-x root root vlock
-rwxr-xr-x root root vmstat
-rwxr-xr-x root root vxloader
-rwxr-xr-x root root w
-rwxr-xr-x root root wait
-r-xr-sr-x root tty wall
-rwxr-xr-x root root watch
-rwxr-xr-x root root watchgnupg
-rwxr-xr-x root root wc
-rwxr-xr-x root root wcmgr
-rwxr-xr-x root root wdctl
-rwxr-xr-x root root weather
-rwxr-xr-x root root webalizer
lrwxrwxrwx root root webazolver -> webalizer
-rwxr-xr-x root root wftopfa
-rwxr-xr-x root root wget
-rwxr-xr-x root root whatis
-rwxr-xr-x root root whereis
-rwxr-xr-x root root which
-rwxr-xr-x root root whiptail
-rwxr-xr-x root root who
-rwxr-xr-x root root whoami
lrwxrwxrwx root root whois -> /etc/alternatives/whois
-rwxr-sr-x root tty write
lrwxrwxrwx root root x86_64 -> setarch
-rwxr-xr-x root root x86_energy_perf_policy
-rwxr-xr-x root root xargs
-rwxr-xr-x root root xgettext
-rwxr-xr-x root root xkibitz
-rwxr-xr-x root root xmlcatalog
-rwxr-xr-x root root xmllint
-rwxr-xr-x root root xmlwf
-rwxr--r-- root root xorg-x11-fonts-update-dirs
-rwxr-xr-x root root xsltproc
-rwxr-xr-x root root xxd
-rwxr-xr-x root root xz
lrwxrwxrwx root root xzcat -> xz
lrwxrwxrwx root root xzcmp -> xzdiff
-rwxr-xr-x root root xzdec
-rwxr-xr-x root root xzdiff
lrwxrwxrwx root root xzegrep -> xzgrep
lrwxrwxrwx root root xzfgrep -> xzgrep
-rwxr-xr-x root root xzgrep
-rwxr-xr-x root root xzless
-rwxr-xr-x root root xzmore
-rwxr-xr-x root root yes
lrwxrwxrwx root root ypdomainname -> hostname
-rwxr-xr-x root root yum
-rwxr-xr-x root root zcat
-rwxr-xr-x root root zcmp
-rwxr-xr-x root root zdiff
-rwxr-xr-x root root zegrep
-rwxr-xr-x root root zfgrep
-rwxr-xr-x root root zforce
-rwxr-xr-x root root zgrep
-rwxr-xr-x root root zip
-rwxr-xr-x root root zipcloak
-rwxr-xr-x root root zipdetails
-rwxr-xr-x root root zipgrep
-rwxr-xr-x root root zipinfo
-rwxr-xr-x root root zipnote
-rwxr-xr-x root root zipsplit
-rwxr-xr-x root root zless
-rwxr-xr-x root root zmore
-rwxr-xr-x root root znew
lrwxrwxrwx root root zsoelim -> soelim
-rwxr-xr-x root root zts-php
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 9:22 am
by coyote2009
gmalets wrote: ↑Mon Jul 09, 2018 8:53 am
Бекап надо было делать ДО, а не после того, как вы делали то, о чем не имеете представления
Могу вам листинг своей директории предоставить, если хотите.
Если я правильно понял, что все права должны принадлежать пользователю root
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 9:38 am
by gmalets
coyote2009 wrote: ↑Mon Jul 09, 2018 9:22 am
gmalets wrote: ↑Mon Jul 09, 2018 8:53 am
Бекап надо было делать ДО, а не после того, как вы делали то, о чем не имеете представления
Могу вам листинг своей директории предоставить, если хотите.
Если я правильно понял, что все права должны принадлежать пользователю root
Почти все, но не все. И права не везде 755, как вы установили.
Вы уверенны, что это единственные изменения, которые вы делали? Может что-то/где-то еще?
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 9:47 am
by coyote2009
gmalets wrote: ↑Mon Jul 09, 2018 9:38 am
Почти все, но не все. И права не везде 755, как вы установили.
Вы уверенны, что это единственные изменения, которые вы делали? Может что-то/где-то еще?
Только это вроде.
С правами пытался что то сделать.
Эх, надо было на тестовом сервере делать, а я сдуру на боевом начал :(
беда просто
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 11:52 am
by coyote2009
Я думаю проще будет скопировать файлы сайта по фтп и сделать экспорт (бэкап) базы данных, затем переустановить панель, только вопрос, как попасть в phpmyadmin без панели vesta cp?
попробую сейчас принудительно сделать бэкап, если не поможет, то плохо дело.
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 12:30 pm
by coyote2009
nginx-error.log
Code: Select all
2018/06/16 15:00:00 [error] 24884#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, r$
2018/06/16 15:00:01 [error] 24884#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, r$
2018/06/16 15:00:01 [error] 24884#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, r$
2018/06/16 19:36:03 [error] 24884#0: *61 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
/etc/sudoers.d/admin
Code: Select all
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
admin ALL=(ALL) ALL
admin ALL=NOPASSWD:/usr/local/vesta/bin/*
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 1:15 pm
by coyote2009
Так же заметил, что не создаются бекапы с 6 июля, вопрос, как создать бэкап вручную бд и сайтов?
запустил эту команду:
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue backup
бэкап не создается. (в правах дело?!)
Re: Не могу залогиниться под admin
Posted: Mon Jul 09, 2018 5:14 pm
by yariksat
coyote2009 wrote: ↑Mon Jul 09, 2018 1:15 pm
Так же заметил, что не создаются бекапы с 6 июля, вопрос, как создать бэкап вручную бд и сайтов?
запустил эту команду:
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue backup
бэкап не создается. (в правах дело?!)
не?
Re: Не могу залогиниться под admin
Posted: Mon Jul 16, 2018 12:36 pm
by coyote2009
yariksat wrote: ↑Mon Jul 09, 2018 5:14 pm
coyote2009 wrote: ↑Mon Jul 09, 2018 1:15 pm
бэкап не создается. (в правах дело?!)
не?
Да спасибо, бэкап получилось сделать.
В общем развернул vestacp на новом сервере.
отбекапил через команду выше файлы сайта, бд через phpmyadmin снял
Пока полет нормальный.