![](https://seccdn.libravatar.org/avatar/3d65ce348306eb0e36a6ec890e3e1b2d.jpg?s=120&d=mm&r=g)
On Tuesday 01 June 2004 15:13, Michael Satterwhite wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
SuSE 9.0 KDE
Is there a way to execute a command when a user logs in?
Yes - several ways, I think, and depending on things like their login shell. One way that works in pdksh, for example, is to put exec [your command] in .profile. In SuSE, they're probably using bash, and you have to figure out what dotfile to use for your particular case, and I can't remember. I recently saw a good summary - the Unofficial FAQ? Sorry this is vague, but at least it's prompt ... Cheers Fergus
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAvI8IjeziQOokQnARAsNHAKCuWCW73s1C0CU4eggyBfn03y9esgCffF3J pr2JhYYrPyzBajypOLtXysI= =XMJM -----END PGP SIGNATURE-----
-- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk