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
1 answer

Can't set user.is_active and user.is_admin to True

I need to use email for authentication instead of user but when ever I create super user it doesn't set the is_active and is_admin to True which are False by default! models.py class CustomUserManager(BaseUserManager): def create_user(self,…
1
vote
1 answer

Please enter the correct Email and password for a staff account. Note that both fields may be case-sensitive

I complete makemigrations and migrate then create a superuser. After this http://127.0.0.1:8000/admin i try to log in then show this error Please enter the correct Email and password for a staff account. Note that both fields may be…
1
vote
2 answers

How do I automatically answer 'Yes' when using wget in Dockerfile?

I want to auto-answer "Y" in the case below, but I'm not sure how to do it right. I tried yes Y | wget ..., echo y | wget ... yet nothing seems to work. I'm likely doing it wrong in this particular situation. This is the output when I'm running…
xshapira
  • 355
  • 4
  • 13
1
vote
0 answers

is_superuser flag is not working correctly once loggin and not redirecting to a custom admin dashboard

Once trying to login to the system with a superuser's credentials it is not working properly and redirecting home page instead of custom admin page. The system is treating both superuser and a normal user equally in views but is_superuser flag is…
1
vote
0 answers

SCP No such file or directory

I am trying to extract some .pem certificates files used to encrypt my server but for some reason cannot do it using SCP I am unable to copy them over to my own machine Error Here are the files in the EC2 instance ls -la output Not sure why they are…
user2921885
  • 159
  • 11
1
vote
3 answers

Can't create Super user in Custom Multi User

I was trying to implement registration for 3 types of users: Parent, School and Vendor. from django.db import models from django.contrib.auth.models import (AbstractBaseUser, BaseUserManager) class UserManager(BaseUserManager): def…
1
vote
2 answers

Can I change my terminal environment to bash shell using a script and then execute other commands after changing the shell in the same script?

I am trying to write a script that sets my main terminal to use bash shell. I know the #!/bin/bash will call all the commands in the script to be run with the bash shell but what I want is a script that specifically that changes the shell of my…
African_king
  • 177
  • 1
  • 8
1
vote
1 answer

Docker keeps saying must be a superuser

I have a docker image which runs tomcat. Whenever I deploy a detached container and login to the container using docker exec, I usually get logged in by default as root. However, whenever I try commands like mount/umount, the container shell keeps…
kesarling He-Him
  • 1,944
  • 3
  • 14
  • 39
1
vote
1 answer

Difference between Superuser and supergroup in Hadoop

What is supergroup and superuser in Hadoop/HDFS?
pavithra
  • 83
  • 12
1
vote
2 answers

is there a way to stop a user with dockerfile / docker-compose from assuming root inside of a container?

Is there any way to stop a user with dockerfile and docker-compose from assuming root inside of a docker container? The concern is, of course, security and least privilege and I would like to see if anyone has solved that issue. Thankyou ahead for…
smcracraft
  • 493
  • 6
  • 14
1
vote
2 answers

I get an error while trying to create superuser

I am new to Django and i am trying to create a superuser ( i'm on Linux mint) and everytime i get a very weird error that i did not get with other Django projects. The error is the following : ( I did not modify anything in the django project…
Mary Poppins
  • 79
  • 13
1
vote
1 answer

How to Change http into https in Amazon Ec2 through LetsEncrypt

I have an ec2 instance in amazon ec2. In that i have php files and mysql database. I am connecting my database using ec2 by following http://18.37.220.172/phpInsert.php. But i feel insecure. So i want to change into secure site. Like this…
Cloud Fire
  • 61
  • 4
1
vote
0 answers

How to grant "su" rights using knox?

Is it possible at all to grant "su" rights using Knox permissions? I thought if I activate knox licence key and provide com.samsung.android.knox.permission.KNOX_ENTERPRISE_DEVICE_ADMIN permission that will give me "su" rights? Anyone had any…
joe
  • 1,341
  • 4
  • 21
  • 32
1
vote
1 answer

Superuser for Google Colab Notebooks

I wanted to use to add some python packages using pip in my Google Colab Notebook terminal and also set my environment variable(a JSON file). Where can I find a terminal so that I can do these tasks? Is it even possible to run Google Colab Notebook…
1
vote
0 answers

Uninstall Superuser app from genymotion device

i have this Samsung Galaxy S8 device on Genymotion and I want to remove the Superuser app. There is a way to create a new one device without the app or remove him completely?
ios_dev
  • 359
  • 2
  • 13
1 2
3
12 13