From: "Hal E. Fulton" Date: 2001-02-16T12:37:47+09:00 Subject: [ruby-talk:10948] Re: How do I get current login (like Perl's getlogin)? ----- Original Message ----- From: Phil Tomson To: ruby-talk ML ; Sent: Thursday, February 15, 2001 7:10 PM Subject: [ruby-talk:10945] How do I get current login (like Perl's getlogin)? > I'm trying to figure out the current login that a script is running on, so > I can determine if the user is authorized. Is there anything like Perl's > getlogin() function in Ruby? I don't see anything about it in the Pickaxe > book. > > Phil > I think you want Process::uid or Process::euid. Hal