Both users running [SOLVED] Topic is solved

Need help with your Linux distro? All questions are good - not all answers are -but we try

Moderator: jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Both users running [SOLVED]

Postby dedanna1029 » 30 Jul 2013, 11:07

Uh, this is not good. Since I deleted dedanna and created dedanna1029, it seems that now when I login to my new primary user (galynda), I'm also logged into dedanna1029. I don't get how this could happen. I noticed that now when I log out of galynda, it wants root authentication "when two users are logged into the system", so used a viking60 tip to see how in the world two users could be logged into the system, and sure enough:

Code: Select all

[galynda@galynda ~]$ awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwd
galynda 501
dedanna1029 500


How to fix? Thanks.
Last edited by dedanna1029 on 31 Jul 2013, 00:59, edited 2 times in total.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Both users running?

Postby viking60 » 30 Jul 2013, 13:04

What happens if you kill dedanna1029?
viewtopic.php?f=25&t=224&p=1377&hilit=skill#p1377
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Both users running?

Postby dedanna1029 » 30 Jul 2013, 14:18

Oh, sorry, meant to mention about that. Too early in the morning (or way too late at night, take your pick). It doesnt' work, or doesn't seem to:

Code: Select all

[galynda@galynda ~]$ awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwd
galynda 501
dedanna1029 500
[galynda@galynda ~]$ su -
Password:
[root@galynda ~]# skill -STOP -u dedanna1029
[root@galynda ~]#
[root@galynda ~]# exit
logout

[galynda@galynda ~]$ awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwd
galynda 501
dedanna1029 500
[galynda@galynda ~]$
[galynda@galynda ~]$ su -
Password:
[root@galynda ~]# skill -KILL -u dedanna1029
[root@galynda ~]#
[root@galynda ~]# awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwd
galynda 501
dedanna1029 500
[root@galynda ~]#

Either way I go, both users are still there. I checked them in MCC, and neither is in the other's way of anything, either in group or user.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Both users running?  Topic is solved

Postby dedanna1029 » 30 Jul 2013, 14:52

hhmmm... I remembered I had this issue before, but in this case, things are opposite. I can't access the dedanna1029 files, just am logged into dedanna1029. This could get interesting, in particular with the last comment to the thread. I'm pretty sure he means XFCE...

Edit: I'm trying medo's trick in that thread. We'll see what happens after a reboot.

Code: Select all

chmod u=rwX,g=rX,o-rwx -R /home/user


On each...

Edit2: And yup, that got it. :)

Code: Select all

[galynda@galynda ~]$ users
galynda galynda
[galynda@galynda ~]$ su -
Password:
[root@galynda ~]# users
galynda galynda
[root@galynda ~]# w
 17:51:57 up 10 min,  2 users,  load average: 1.26, 0.78, 0.50
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
galynda  tty1      17:51    9:55   3.69s  0.16s /bin/sh /etc/xdg/xfce4/xinitrc
galynda  pts/0     17:51    5.00s  0.54s  0.89s /usr/bin/xfce4-terminal


It's the same when I run in dedanna1029 (except you see dedanna1029, and not galynda of course). :)

http://kb.iu.edu/data/abyk.html

Only problem? No sound. Here we go again... *sigh
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Help”