redhat question

umcpgrad

2[H]4U
Joined
Apr 2, 2004
Messages
2,800
In the motd banner whenever I update it erases my welcome banner any ideas how I make sure it stays after upgrades?

I am trying to also create a share I guess through samba to connect to my windows r2 2008 I tried using global to share /home directory but I am unable to access it through my 2008 any ideas?

thanks in advance
 
You can't expect Linux help if you don't post this question in the Linux section.

To answer your 1st part of the question, you need to edit the /etc/motd file with whatever you want. Then remove the /etc/motd.tail file with the rm command:

Code:
rm /etc/motd.tail

If you don't want to delete it, you can rename it 1st and make sure that this works as expected:

Code:
mv /etc/motd.tail /etc/motd.tail.orig

You shouldn't need to reboot.

As for your Samba question, Samba is very easy. Follow these steps:

1. Make a folder you plan to share.
2. Make sure the permissions on the folder are 777
3. Make sure the ownership is open to all since it's a share (you can control ACL in Samba)
4. Configure your smb.conf to have an open share and under security, change it to "share".

GL
 
Oh, remember to restart the SMB daemon after every change. Always make one change per time so you know what fixed or broke your configuration:

Code:
/etc/init.d/smb restart
 
Back
Top