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

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

 



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.


-- 
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