Recent Questions

مطالب مرتبط با «root» در Recent Questions | نویسنده: استخدام کار

Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I try to set a root password as follows: mysqladmin -u root password "root"; Then I make a coection to my MySQL server, the following command: mysql -u root -p Enter password: **** enter image description here...

ادامه مطلب

Is KingRoot secure?

I have unlocked my HTC device and installed TWRP and SuperSU. Then I accidentally leaked root access to one of Tencent's apps. The log says that the app has leaked root permission to KingRoot SDK: It uses root permission to execute something like 'kd -d krsdk.cert'. Then I removed its root access in SuperSU, however the app is still able to use root access. I then downloaded KingRoot, and it says that the device has already been rooted. I tried to unroot the device from KingRoot, however I could re-root it again with KingRoot. I tried restoring the device using a complete backup from the TWRP recovery (removing SuperSU and everything else just like factory default), but KingRoot still works....

ادامه مطلب

warning /dev/root does not exist

Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up
 Here's how it works: Anybody can ask a question
 
 Anybody can answer
 
 The best answers are voted up and rise to the top
 
 Let's block ads! بخوانید...

ادامه مطلب

How to setup a working chroot in OS X?

I am making several websites on a single workstation, so I want to test them in more or less isolated environment. Having some Linux background, I decided to make a chroot for each of these web apps. To be able to launch my app handlers from inside the chroot, I wanted to forward the visibility of /usr/local/bin to the chrooted container, but I fail to see a direct equivalent of mount --bind. Is it at all possible to have a chroot with vanilla OS X, without FUSE or other keel extensions? Let's block ads! بخوانید...

ادامه مطلب

OSX why mac asking system.install.root.user by itself?

Why is my mac (Snow Leopard) asking me for installer changes (system.install.root.user) by itself? I do not recall doing anything to enable this. I feel like someone is trying to hack into my computer. I hope it is a false feeling....

ادامه مطلب

Import root certificate in Synology

I am looking for a way to import a root certificate in a synology server (the certificate comes from a ssl intercepting proxy). I have copied the certificate to /usr/share/ca-certificates/ And changed the permissions to 744 and owner to root:root. Then I made a symlink to the cert in /etc/ssl/certs This didn't change a thing, so I additionally modified the file /etc/ca-certificates.conf and added the line / Again, this didn't change the behaviour, still no coection possible to the outside world. Any ideas? Let's block ads! بخوانید...

ادامه مطلب

Windows 10 root causes: Upgrade path or app compatibility?

The Problem: Especially since the March 2016 update to Win10, my machine has had a continual stream of problems. The Event Viewer logs many common Windows 10 issues that Google can find 1000's of sketchy solutions for. Generally a re-boot once or twice a day will allow me to keep working. The variety of errors is huge, but typical ones include: Start Menu stops working The program ShellExperienceHost.exe / Microsoft.Photos.exe / SearchUI.exe/ ... stopped interacting with Windows and was closed. Activation of app Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge failed with error: The remote procedure call failed Activation of app Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI failed wit...

ادامه مطلب

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/passwd | grep comege comege:x:1001:1001::/home/sftp/comege/home/:/sbin/nologin # cat /etc/group | grep sftp sftp-only:x:1001: # sshd_config Subsystem sftp inteal-sftp Match Group sftp-only ChrootDirectory /home/sftp/%u AllowTCPForwarding no X11Forwarding no ForceCommand inteal-sftp SELinux is set on permissive for testing purposes. When I coect to the server using SFTP I get the following error : Error listing directory '/'. Permission denied Permissions : /home/sftp/comege and parent directories bel...

ادامه مطلب

Is there standard ways to found popup root?

many time ago I download file from Russian site it install browser Without permission.I have many popup blockers in my browser and I reset my browser to default I uninstall Russian browser I want understand can I find popup root because I want delete it.what is type of popup? why my popup blockers can't prevent them how can I prevent add browsers and popups? Let's block ads! بخوانید...

ادامه مطلب

Admin needs root password

I recently installed it and since I am the only user the system asks me for root password if I want to install something or read any files. Always saying that I don't have permission to access. Before the installation I had Kali Linux on a boot stick with persistence, actually just for school. So I'm coming to the point: Why didn't the system asked me for a root password when I had the boot stick? Now I always have to type sudo for everything and that's aoying. Let's block ads! بخوانید...

ادامه مطلب

When mc runs as root doesn't obey bindings

I created a bindings file for mc that opens geeqie file viewer when my user presses Enter on a [jJ][pP][gG] file. Copied that bindings file from ~./config/mc/bindings to /root/.config/mc/. When I start mc as root and press Enter in a .jpg file, mc opens gimp and not geeqie as is in the bindings file. After reading the manual, it seems that for recent versions of mc this kind of information is saved in a mc.keymap file, but starting mc -K /root/.config/mc/mc.keymap as root still opens gimp instead of geeqie when trying to view a jpg file. What am I missing? Why is the behavior different when starting mc as root than as myuser? $ mc -V GNU Midnight Commander 4.8.16 in a linux box Let's block a...

ادامه مطلب

Terrible ideas involving chroot and running an os

If I were to make a chroot (or container using something like this) environment and run my os normally in that, what would be wrong about doing this? Currently, I can see a few problems: Caot control os functions easily (reboot, sleep, etc) Some things will detect chroot and not run(systemd will refuse starting services) Potential security risks from ruing everything inside a chroot Are there any other obvious problems with doing this? Let's block ads! بخوانید...

ادامه مطلب

Not able to run fio bechmark as a root

I'm not able to run fio benchmark as a root user. Normal mode: Command 1: which fio Output 1: /usr/local/bin/fio Command 2: fio Output 2: No jobs(s) defined fio-2.12 fio [options] [job options] --debug=options Enable debug logging. May be one/more of: process,file,io,mem,blktrace,verify,random,parse, diskutil,job,mutex,profile,time,net,rate,compress --parse-only Parse options only, don't start any IO --output Write output to file --runtime Runtime in seconds --bandwidth-log Generate per-job bandwidth logs --minimal Minimal (terse) output --output-format=x Output format (terse,json,json+,normal) --terse-version=x Set terse version output format to 'x' --version Print version info and exit --h...

ادامه مطلب

vsftpd on raspberry pi doesn't chroot users

I'm attempting to run an FTP server on a raspberry pi, and after a lot of struggle I finally made it work, however for some reason the server doesn't place users into a chroot jail, and everyone can access all files on the device. Strange is that I did set chroot_local_user to YES, but it doesn't work as I said. Any ideas? # Example config fil /etc/vsftpd.conf # listen=YES listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES coect_from_port_20=YES chroot_local_user=YES user_sub_token=$USER local_root=/home/$USER/ftp Let's block ads! بخوانید...

ادامه مطلب

Batch to move files from root folder into sub-folders

I have a root folder: C:UsersuseameDesktopNew folder which contains .mp3 files that are named like this: 20162406_3346_234958_97270791720411 20162305_3315_163017_97620734220699 I tried creating a batch that would sort them by the first 5-digits of the 4th series of numbers ( the 97270 or 97620 in this case) create folders named like that and then move all the files into their specific folder. Here is what I've come up with: @ECHO OFF SETLOCAL ENABLEDELAYEDEXPANSION set "sourcedir=C:UsersuseameDesktopNew folder" for /f "tokens=1,2,3,4 delims=_" %%a in ('dir /b /a-d *_*_*_*.mp3') do ( set x= %%d set y= !x:~1,5! mkdir "!y!" 2>nul move "%%a_%%b_%%c_%%d" "!y!" ) endlocal It works! but, I would li...

ادامه مطلب

How to drop privileges in a Debian Chroot?

I'm testing some software under Debian X32. Its a chroot environment, and its entered upon as root. Some of the tests are failing because of the root account: make test ... # Failed test 'Testing that we aren't ruing as a privileged user, such as root' # at ../test/recipes/40-test_rehash.t line 49. ... # Looks like you failed 1 test of 5. ../test/recipes/40-test_rehash.t ........... Dubious, test retued 1 (wstat 256, 0x100) Failed 1/5 subtests ... Trying to drop privileges by su'ing fails: # su - jdoe No passwd entry for user 'jdoe' How do I drop privileges in a Debian Chroot? Let's block ads! بخوانید...

ادامه مطلب

FreeBSD google cloud image / set password auto for root etc

i want to use FreeBSD intro google cloud but i can't make the password work. Sorry for my bad english. Soo , i have this shell script for create image : VERSION=10.3-RELEASE VMSIZE=10g SWAPSIZE=1G NEWFS_OPTIONS="-U -j -t" COMPONENTS="base keel" TS=`env TZ=UTC date +%Y%m%d%H%M%S` IMAGENAME=`echo FreeBSD-${VERSION}-i386-${TS} | tr '[A-Z]' '[a-z]' | sed -e 's/.//g'` BUCKETFILE=FreeBSD-${VERSION}-i386-${TS}.tar.gz TMPFILE=FreeBSD-${VERSION}-i386-gcloud-image-${TS}.raw WRKDIR=${PWD} TMPMOUNT=/mnt/gcloud_new_${TS} ############################### cleanup() { set +e echo "Error or interrupt detected, cleaning up and exiting" cd ${WRKDIR} umount -f ${TMPMOUNT} >/dev/null 2>&1 rmdir ${TMPMOUNT} >/dev/...

ادامه مطلب

Stuck At [A N D R O I D root@x86:/ #] in Virtualbox

I'm just having problem installing Androidx86 Marshmallow Version in Virtualbox, yes installation was success but whenever I am booting with it, I always receive this message.. input_data: 0x0151c101input_len: 0x004b411eoutput: 0x01000000output_len: 0x009bef7crun_size: 0x00a76000 Decompressing Linux... Parsing Elf... No Relocation Needed... done.Booting the keel.[ 0.803765] Failed to find cpu0 device nodeDetecting Android-x86... found at /dev/sda1 A N D R O I D root@x86:/ # Let's block ads! بخوانید...

ادامه مطلب

os x server saves dns files on root instead of /Library/server/named

my attempts to activate dns-sd on my os x server installation have somehow broken where it saves dns settings! db.[FQDN] files are NOT going to /Library/server/named where they used to (and where Edit Hostname looks for them) but are being dumped right on the root folder. what file do i edit to get dns to look at the right filepath? ruing os x server el capitan, newest version and fully updated as of now 6/14/16 Let's block ads! بخوانید...

ادامه مطلب

exiting chroot leads to getpt failure

On a Debian Jessie machine I have a rootfs image which I chroot in this way: mount myimage.img /mnt/myimage cp /usr/bin/qemu-arm-static /mnt/myimage/usr/bin/ mount --rbind /dev /mnt/myimage/dev mount -t proc none /mnt/myimage/proc mount -o bind /sys /myimage/sys chroot /mnt/myimage on exiting I do the opposite: rm /mnt/myimage/usr/bin/qemu-arm-static umount /mnt/myimage/sys umount /mnt/myimage/proc umount /mnt/myimage/dev umount -l /mnt/myimage But when I try to open a new terminal in my host machine I get the following error: Execution of the child process failed getpt failed: file or directory not exists (translated from Italian) Perhaps I'm forgetting something? Let's block ads! بخوانید...

ادامه مطلب