Re: How to mail the name of the user that logged off?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-09-25 at 01:19 -0700, Brian Mury wrote:
> Hi Frank,
> 
> On Tue, 2007-09-25 at 01:09 -0600, Frank Cox wrote:
> > Fair enough.  But I think your users habits would have little in common with a
> > majority of today's Fedora users.
> > 
> > As the default shell on Fedora and Red Hat systems, the inertia factor alone
> > makes most folks just use bash and leave it at that.
> 
> You are, of course correct. The issue, however, is not which shell is
> used by the majority of users, but how to have a command run when a user
> logs out. You as much as admit the problem when you say "a majority" and
> "most". Putting it in ~/.bash_logout will not guarantee this because
> there is no guarantee that all users are using/will continue to use
> bash.
> 
> > I suppose one could remove all alternative shells from Fedora and in
> > that way
> > force people to use bash, if it was really an important objective.
> 
> That would work, so long as the user doesn't modify ~/.bash_logout. Or
> put the same command in the logout scripts used by the other available
> shells (again, this could break if the user modifies those files).
> 
> Oh, you don't have to actually remove the other shells, just
> edit /etc/shells - it controls which shells users are allowed to choose.
> 
> 

Searching the Internet, I came across

http://dries.eu/rpmpackages/package/pam_script/pam_script/index.html

I had trouble finding documentation for pam_script.  A link is broken.

Anyone have any experience with pam_script?  Would this do the job?





Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux