From: matz@... (Yukihiro Matsumoto) Date: 2001-02-16T12:37:36+09:00 Subject: [ruby-talk:10947] Re: How do I get current login (like Perl's getlogin)? Hi, In message "[ruby-talk:10945] How do I get current login (like Perl's getlogin)?" on 01/02/16, Phil Tomson writes: | |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. require 'etc' print Etc.getlogin, "\n"