bross073097
asked on
You have mail Wav.
I would like to setup a "You have Mail" wav file so when a user logs into the server and if they have mail it will play the wav over their speakers. Or put a window up on their system. Which ever way would be easier.
Is there an easy way to do this.
Thanks
Bob Ross
Is there an easy way to do this.
Thanks
Bob Ross
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
login shell is specified in /etc/passwd
ASKER
It's not mentioned there, it is in mgetty.config, it shows bin/login
Thanks
Bob Ross
Thanks
Bob Ross
ASKER
You mention your_wv_playing_program.
I'm not sure what to put here. In an html, I just tell it to play a wave and it does. This will play on the user end after they get connected if it does.
Thanks
Bob
I'm not sure what to put here. In an html, I just tell it to play a wave and it does. This will play on the user end after they get connected if it does.
Thanks
Bob
ASKER
mgetty uses it's own login, I found login.c. My system is set for AutoPPP, the password file does not give a shell unless I give a shell account /bin/bash, all other users get /dev/null so they can't log in at the prompt.
I can send it to you if you want.
Thanks
Bob Ross
I can send it to you if you want.
Thanks
Bob Ross
Send it (email), it's nice to see other/new configurations :-)
You may find your_wv_playing_program in your servers mime.types configuration file.
Or search with:
find / -xdev -perm +x -name '*wav*' -print
Ciao
Achim hoagascht@gmx.net
You may find your_wv_playing_program in your servers mime.types configuration file.
Or search with:
find / -xdev -perm +x -name '*wav*' -print
Ciao
Achim hoagascht@gmx.net
ASKER
The mime.types show
audio/x-wav wav
That's it.
Bob
audio/x-wav wav
That's it.
Bob
mime.types was useless, sorry.
On my system the programs are named play and x-play
On my system the programs are named play and x-play
ASKER
Any other Idea to make this work?.
Thanks
Bob Ross
Thanks
Bob Ross
ASKER
I will try the above and let you know.
Thanks for the quick response.
Bob Ross