Questions tagged [superuser]

This tag does NOT refer to the Super User SE site. Use to distinguish those acting with top/high level admin system privileges from other users.

190 questions
1
vote
0 answers

VSCode exit superuser mode

I am new to VSCode (switching from Sublime) and I accidentally caused VSCode to boot up in superuser mode each time I open the app, how do I exit out and go back to zsh or bash? I am not familiar with how to change settings in VSCode. So far, I…
Lullaby
  • 127
  • 1
  • 3
  • 11
1
vote
0 answers

Mount /system RW / RO Android 7.1.1 Lenovo Tab 4 10"

I have a problem with making a /system folder into read/write permission. I made root (TWRP 3.2.3, SuperSU-v2.82 - in TWRP is unchecked read-only) and the problem is tablet freezes EVERY time a make change from RO to RW. I used Root explorer, ES…
1
vote
0 answers

Not sure if I have PostgreSQL installed on my Mac properly for creating Flask web app

I installed PosgreSQL 10.5 on a Mac running macOS 10.13.6 using Homebrew by following this tutorial. After installation, I ran =# \du to view all users. I saw the user with my Mac's name that the tutorial says PostgreSQL creates during installation,…
1
vote
1 answer

Recover postgres user in PostgreSQL

I need to recover the superuser privilege for the postgres user, because it lost the superuser qualification. I cannot do anything in the psql shell, it gives the message must be superuser to create superusers The system is Ubuntu 16.04 and…
1
vote
2 answers

wrong url to admin django after adding profile

I had a login page that I would change it to another login page and I follow these instructions. I added this code and when I tried to login to my user admin that I added before it sends me to wrong url…
1
vote
1 answer

Unable to yum install in fedora even as root user

Getting the error Error: This command has to be run under the root user. when I try to install in Fedora as root user. Tried in different ways: Sun May 20 20:18:57 kbsbng@tr $ sudo yum install mod_ssl Error: This command has to be run under the…
kbsbng
  • 2,261
  • 2
  • 18
  • 25
1
vote
0 answers

How to use Process p = Runtime.getRuntime().exec("su") on Android to run Java or C code?

I am developing a Java and C app for Android which requires root uid to enable a major part of its functionality. Thus, I rooted an Android emulator using SuperSu and called Process p = Runtime.getRuntime().exec("su") in my app's Java code on a…
Egzy
  • 43
  • 8
1
vote
2 answers

No module named 'social_django' when creating superuser

I'm running a django project and I get this error when I try to add a superuser with the command python manage.py createsuperuser the error I get is >File "manage.py", line 15, in execute_from_command_line(sys.argv) >File…
Boidot
  • 363
  • 1
  • 6
  • 18
1
vote
1 answer

Can't access superuser in postgresql

I can't seem to access my superuser account for my posgresQL database. Using the command: psql -U postgres I sucessfully login into the user 'postgres'. However, this is not the default superuser. Doing: =# \du I get: List of roles Role name | …
laughinl
  • 13
  • 1
  • 3
1
vote
1 answer

Scala shell not running without super user privilege on ubuntu

I have installed Scala via apt but when I try to run the Scala shell, it throws me a NoClassDefFoundError. When I try to run it using superuser privileges,it runs fine. Scalac runs fine without superuser privileges. after running the env command, I…
Shankha057
  • 1,296
  • 1
  • 20
  • 38
1
vote
0 answers

Getting Error when create superuser "TypeError: 'is_staff' is an invalid keyword argument for this function"

I am trying to create superuser with this command on linux: python manage.py createsuperuser I also tried with sudo. It gives the error to me . Traceback (most recent call last): File "manage.py", line 22, in
1
vote
0 answers

Working with AOSP SuperUser

I'm trying to include the SuperUser application and su binary in my ROM (by AOSP method). I'm using android-6.0.1_r79 (Marshmallow) as my base AOSP code. [[Similar question(s) has been answered earlier, but all previous discussions were prior to…
PC.
  • 6,870
  • 5
  • 36
  • 71
1
vote
0 answers

md5sum gives different output for the same file

I have an issue with computing md5sum. For the same file when I run md5sum I get different results. /tmp @at46> md5sum seq.swi 9b5f6616c8d9240ba504607e0a8085b8 seq.swi /tmp @at46> md5sum seq.swi 7577bd05a3e49ca52a7d4e91cb0965df seq.swi /tmp @at46>…
Anand
  • 11
  • 2
1
vote
3 answers

Screenshot from background and process it before save

is it possible to make an screenshot of another app from background and convert it to Bitmap to make some changes before save? device is rooted. i've tried perform console command but it automatically saves file to disk, so i need than read file,…
Siarhei
  • 2,358
  • 3
  • 27
  • 63
1
vote
2 answers

Creating superuser using POST request Django rest framework 3.5

Hey i have one question about creating superuser with djangorestframework. If i want to create superuser with console i'll write: python manage.py createsuperuser But now i want to create superuser with POST request using DRF 3.5 How should i do…
anduplats
  • 885
  • 2
  • 14
  • 24