Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-12-2003, 10:00 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 13

Rep: Reputation: 0
samba logon script question

does anyone know of a way to display a motd at logon for samba clients? the only way I've thought of is to echo motd in the logon script but i don't want to do that. I'd like to have a neat gui popup that would read motd and i could change it daily.

any suggestions? is preexec an answer?


Old 04-20-2003, 10:06 PM   #2
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
you send a winpopup message with preexec, so when a user logs on and connects to say a home share preexec smbclient -M `cat motd` The only problem is that the user need to be running winpopup although I guess you could run this from the login script.
Old 04-24-2003, 12:45 PM   #3
LQ Newbie
Registered: Mar 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, i'll give it a try and let you know



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba as PDC: can it just run logon script, not host profiles? hamish Linux - Networking 0 09-09-2005 09:44 AM
Logon samba on other samba password list hernandi Linux - Networking 0 10-14-2003 12:40 PM
samba logon script win xp synfield Linux - Networking 3 08-20-2003 10:24 AM
Samba Logon script not mapping Drives automatically! kofi Linux - Software 0 07-21-2003 03:06 PM
Samba: how to create a logon script file when i add a system user. heero82 Linux - Software 2 06-19-2003 08:29 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration