You are not logged in.

#1 2020-11-04 04:21:46

ipbody
Member
Registered: 2020-11-04
Posts: 2

[SOLVED] Im not the current logged user

Hi!

Im trying to add my user (javier) to the wireshark group, so i can use wireshark without root privileges.

I type

#sudo gpasswd -a javier wireshark

on the command prompt and "groups javier" to check, the output is this one

#groups javier 
input wireshark wheel

But when i type "groups", the output is

#groups
input wheel

So it looks like im not the user javier but when i type "whoami" the output is

#whoami
javier

Ive already restart multiple times.

Ive also tried switch user using "su javier" and i can launch wireshark without issues.

There are no other user that i can log into, so i dont know what else to do.

Last edited by ipbody (2020-11-04 22:29:45)

Offline

#2 2020-11-04 05:00:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: [SOLVED] Im not the current logged user

Why is there a "#" sign before your commands?  That generally indicates a root user prompt.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-11-04 07:15:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,697

Re: [SOLVED] Im not the current logged user

Ive already restart multiple times.

After doing that, does

groups javier

suggest you're still in the wireshark group?
What's the outpug of

id

Offline

#4 2020-11-04 19:39:12

ipbody
Member
Registered: 2020-11-04
Posts: 2

Re: [SOLVED] Im not the current logged user

Trilby wrote:

Why is there a "#" sign before your commands?  That generally indicates a root user prompt.

A put the # to differentiate the console input and output, kind of a bad decision.

After a complete shutdown the problem looks solved now, the output of "groups" does show the wireshark group so thanks you all for the help!

Offline

Board footer

Powered by FluxBB