> On 05/27/2017 10:12 PM, fred roller wrote:
>> you could run "who" to see if the root user is still logged
on as well.
>
> I have a terminal open, logged in as root with su -. When I
ran who, it
> just showed me, logged in once and no root. Checking with
uptime, it
> shows one user.
I never heard of 'who' ;-) Unfortunately, it is true: I ran
'su -' and then who in another tab and in a different terminal
emulator and it showed no root nor me as root, just me.
True, you will see the multiple instances of your log-in and their "terminal". "tty" for your graphics and "pts" for terminal emulators. Open multiple tabs in your cli emulator and run who and you will what I am talking about. Running sudo invokes root privileges for your user, hence, no root user just your user. You would have to set root pw and actually log-in with root to see the root log in. I apologies for the ambiguity.
-- Fred
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx