F5F Stay Refreshed Software Operating Systems Login issue with root access on Pop-OS system.

Login issue with root access on Pop-OS system.

Login issue with root access on Pop-OS system.

Pages (2): 1 2 Next
C
ciberbrine
Member
199
09-14-2021, 07:41 AM
#1
You're experiencing an issue where the second user doesn't appear in the expected directory structure after creating it. The ' /etc/passwd' file shows the home directory as '/home/user2', but when you try to log in as that user, you get a directory not found error. It seems the system isn't recognizing the new user's home folder correctly. Have you verified the user creation command or checked for any permission issues? Also, ensure the superuser has the necessary rights to access the target directory.
C
ciberbrine
09-14-2021, 07:41 AM #1

You're experiencing an issue where the second user doesn't appear in the expected directory structure after creating it. The ' /etc/passwd' file shows the home directory as '/home/user2', but when you try to log in as that user, you get a directory not found error. It seems the system isn't recognizing the new user's home folder correctly. Have you verified the user creation command or checked for any permission issues? Also, ensure the superuser has the necessary rights to access the target directory.

O
OldTwiist
Member
137
09-17-2021, 02:04 PM
#2
I analyzed your question and provided a clear response. Let me know if you need anything else!
O
OldTwiist
09-17-2021, 02:04 PM #2

I analyzed your question and provided a clear response. Let me know if you need anything else!

N
Nevik
Member
196
09-18-2021, 11:37 PM
#3
N
Nevik
09-18-2021, 11:37 PM #3

S
SuperWillman
Member
131
09-22-2021, 10:40 PM
#4
Did you set a different Password for user 2? If so, try the password for user 2 and see what happens?
S
SuperWillman
09-22-2021, 10:40 PM #4

Did you set a different Password for user 2? If so, try the password for user 2 and see what happens?

U
UnicornMonkey
Junior Member
47
09-22-2021, 11:03 PM
#5
list the exact command
U
UnicornMonkey
09-22-2021, 11:03 PM #5

list the exact command

R
RepoRizer
Posting Freak
872
09-23-2021, 05:51 AM
#6
create a new user with no background directory
R
RepoRizer
09-23-2021, 05:51 AM #6

create a new user with no background directory

A
Airwolf777
Member
66
09-23-2021, 06:30 AM
#7
Root has its own separate password for sudo. When using sudo, it relies on your credentials. You can reset the root password via sudo passwd, but it's best to avoid using root whenever possible. If you run sudo passwd user2, you can modify the password for that user. The key point is to be cautious about handling root access.
A
Airwolf777
09-23-2021, 06:30 AM #7

Root has its own separate password for sudo. When using sudo, it relies on your credentials. You can reset the root password via sudo passwd, but it's best to avoid using root whenever possible. If you run sudo passwd user2, you can modify the password for that user. The key point is to be cautious about handling root access.

Y
YawHeHe
Junior Member
30
09-25-2021, 02:27 AM
#8
useradd
Y
YawHeHe
09-25-2021, 02:27 AM #8

useradd

A
alejandrobo1
Posting Freak
877
09-25-2021, 08:33 AM
#9
I need the precise command details, including all flags and parameters. Could you clarify what you executed? Did you apply the -m option?
A
alejandrobo1
09-25-2021, 08:33 AM #9

I need the precise command details, including all flags and parameters. Could you clarify what you executed? Did you apply the -m option?

H
HolgerHolm95
Junior Member
21
09-25-2021, 11:38 PM
#10
Created a user named username with the command "useradd username"
H
HolgerHolm95
09-25-2021, 11:38 PM #10

Created a user named username with the command "useradd username"

Pages (2): 1 2 Next