Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

user variables

( #110=superdoc: print w/replies, xml ) Need Help??

VARS

__nnt_color_style
<style type="text/css">

  .nnt-line-incidental .nnt-link { font-style: italic; }
  a.nnt-Steaming,
  a.nnt-Hot,
  a.nnt-Fresh  { font-weight: bold; }

a.nnt-Steaming { color : #0000EE; }
a.nnt-Hot { color : #000ce2; }
a.nnt-Fresh { color : #0018d6; }
a.nnt-twohour { color : #0024ca; }
a.nnt-fourhour { color : #0030be; }
a.nnt-eighthour { color : #003cb2; }
a.nnt-Recent { color : #0047a7; }
a.nnt-oneday { color : #00539b; }
a.nnt-twodays { color : #005f8f; }
a.nnt-threedays { color : #006b83; }
a.nnt-fourdays { color : #007777; }
a.nnt-fivedays { color : #00836b; }
a.nnt-sixdays { color : #008f5f; }
a.nnt-week { color : #009b53; }
a.nnt-month { color : #00a747; }
a.nnt-twomonths { color : #00b33b; }
a.nnt-quarteryear { color : #00be30; }
a.nnt-halfyear { color : #00ca24; }
a.nnt-Year { color : #00d618; }
a.nnt-TwoYear { color : #00e20c; }
a.nnt-Old { color : #00ee00; }
</style>
codebig
on
diff_deleted_style
diff_inserted_style
freenodelet
monkpicsoff
on
nnt-legend-bottom
1
nnt_blk
nnt_maxdepth
0
nnt_mode
fullthread
nnt_showage
1
nnt_showtime
1
nnt_toggle_left
nodelets_as_div
nullvote
numwriteups
92972
showreaped
0
showreapednotes
0
ukeyclear
2
ukeyhash
HASH(0x81bbb0b70)
wiki106868
2016-01-27 17:01:22
wiki1145485
2015-10-20 17:24:49
wiki1173852
2016-10-28 20:10:27
wiki1175616
2016-11-14 12:11:10
wiki171967
2005-09-24 20:09:56
wiki545862
2017-03-23 14:03:15
wiki615833
2015-06-13 13:06:32
wiki617670
2007-05-26 04:49:32
wiki68049
2006-03-27 05:03:57
wiki68293
2006-03-16 07:03:26
wiki76333
2015-07-07 17:07:42

USER{vars}

==01:H*V__nnt_color_style!V<style type="text/css">

  .nnt-line-incidental .nnt-link { font-style: italic; }
  a.nnt-Steaming,
  a.nnt-Hot,
  a.nnt-Fresh  { font-weight: bold; }

a.nnt-Steaming { color : #230000EE; }
a.nnt-Hot { color : #23000ce2; }
a.nnt-Fresh { color : #230018d6; }
a.nnt-twohour { color : #230024ca; }
a.nnt-fourhour { color : #230030be; }
a.nnt-eighthour { color : #23003cb2; }
a.nnt-Recent { color : #230047a7; }
a.nnt-oneday { color : #2300539b; }
a.nnt-twodays { color : #23005f8f; }
a.nnt-threedays { color : #23006b83; }
a.nnt-fourdays { color : #23007777; }
a.nnt-fivedays { color : #2300836b; }
a.nnt-sixdays { color : #23008f5f; }
a.nnt-week { color : #23009b53; }
a.nnt-month { color : #2300a747; }
a.nnt-twomonths { color : #2300b33b; }
a.nnt-quarteryear { color : #2300be30; }
a.nnt-halfyear { color : #2300ca24; }
a.nnt-Year { color : #2300d618; }
a.nnt-TwoYear { color : #2300e20c; }
a.nnt-Old { color : #2300ee00; }
</style>*Vcodebig!Von*Vdiff_deleted_style!U*Vdiff_inserted_style!U*Vfreenodelet!U*Vmonkpicsoff!Von*Vnnt-legend-bottom!V1*Vnnt_blk!V*Vnnt_maxdepth!V0*Vnnt_mode!Vfullthread*Vnnt_showage!V1*Vnnt_showtime!V1*Vnnt_toggle_left!V*Vnodelets_as_div!U*Vnullvote!U*Vnumwriteups!V92972*Vshowreaped!V0*Vshowreapednotes!V0*Vukeyclear!V2*Vukeyhash!H#2aVold/69.164.219.11/cb Last 35 - crazy is good 4.98#21V01717610,1498246921*Vwiki106868!V2016-01-27 17:01:22*Vwiki1145485!V2015-10-20 17:24:49*Vwiki1173852!V2016-10-28 20:10:27*Vwiki1175616!V2016-11-14 12:11:10*Vwiki171967!V2005-09-24 20:09:56*Vwiki545862!V2017-03-23 14:03:15*Vwiki615833!V2015-06-13 13:06:32*Vwiki617670!V2007-05-26 04:49:32*Vwiki68049!V2006-03-27 05:03:57*Vwiki68293!V2006-03-16 07:03:26*Vwiki76333!V2015-07-07 17:07:42
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[davido]: so last -f /var/run/utmp on ubuntu provides similar (though more verbose) info
[oiskuu]: glibc getlogin just does ttyname() and falls back on getutline(); it's not security related at all. (reminds me of sendmail and remote finger services of the naive early spam era)
[Corion]: But yes, "who started this process" is interesting information :)
[tye]: no, I really believe that "login user" was added as a fundamental bit of info about each process in order to enhance the usefulness of auditing
[Corion]: Ah - if that information is saved in a file, then you could theoretically spam that file and confuse getlogin(). So, don't use it for authentication :)
[tye]: that is what getlogin() certainly *used* to do. I don't believe that is what it certainly should do.
[davido]: /var/run/utmp is 664 i think.
[tye]: Note that my "man getlogin" says that it uses stdin when it should use /dev/tty (calling a glibc bug). But that does not appear to be the case when I test it. But maybe Perl's getlogin() is not using glibc's getlogin().
[oiskuu]: well, run a strace and see what the getlogin does for you.... As I said. SELinux probably has those security labels. But not regular linux.
[tye]: for example, read https://unix. stackexchange.com/ questions/146138/ loginuid-should-be -allowed-to-change -or-not-mutable-or -not

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-06-23 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.