Jump to content

aioshin

Members
  • Posts

    816
  • Joined

  • Last visited

Everything posted by aioshin

  1. in order for you to run the script as a regular user, try to ,as root#chmod a+x wireless.sh ....a = all, which means that all user can x= execute that script, but if the script contains shell commands that only root have access, though you can run the script but it will fail, well, as per pmpatrick, that should work
  2. the answer really is NO, but since ERD mentioned the SHARING of files between that mixed OS, we all know that SAMBA would do that.(SHARING). well, ERD if you really want to administer your other linuxbox from your, shall I say main LinuxBox, its better to enable sshd or the ssh-server on that other linux box... forget nfs. Try to check if ssh server has been installed already #rpm -qa | grep ssh , it should, if installed, show you openssh-server and openssh-clients, if installed, then you should now ready to access your other linux box thru shh.. how? using your konqueror browser at the location; type sftp://<ip-of-ur-other-linux-box> enter the username and password of your account on that other linux box... you cant use root, if I'm not wrong, by default, root is not alllowed to login thru ssh, but hey, your just trying to access and share files, right? Now, if you'd like to adminster your files, install additional software, make an update, to that other linuxbox from your main linux box, then use the konsole and type $ssh user@<ip-of-your-other-linuxbox> then enter password, and if you want to be root to have access on everything, just type at prompt$su then enter the root password... there, hope its clear and i'm not instead of helping, confuses you. so just forget nfs
  3. aioshin

    Opera

    have you tried mozilla itself? i'm using it for browsing and email client.. opera, yeah, it has annoying ads
  4. here's the script that I used as firewall, i put it as a file rc.firewall under /etc/rc.d/, or the file itself, /etc/rc.d/rc.firewall then #chmod +x /etc/rc.d/rc.firewall to make it executable then edit the /etc/rc.d/rc.local and put a line at the bottom of rc.local something like this "/etc/rc.d/rc.firewall" w/o quote so it will run at startup. I did'nt use shorewall, or guardog to manage the iptables, just that script, and actually, I just find that on a certain ebook, forgot the title, but grc finds my desktop as stealth... #!/bin/sh #flush existing rules iptables -F #note eth0 - connected to internet , eth1 - connected to LAN #This allows all data that has been sent out for the computer running the #Firewall to comeback #(for all of ICMP/TCP/UDP). #For example, if a ping request is made it will allow the reply back iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED -i eth0 -p icmp iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED -i eth0 -p tcp iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED -i eth0 -p udp iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED -i eth1 -p icmp iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED -i eth1 -p tcp iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED -i eth1 -p udp #Accepting all connection From LAN , if you trust you LAN iptables -A INPUT -i eth1 -s 172.16.0.0/24 -j ACCEPT # Anti spoofing iptables -A FORWARD -s 172.16.0.0/24 -i eth0 -j DROP iptables -A INPUT -s 172.16.0.0/24 -i eth0 -j DROP iptables -A INPUT -i eth0 -s 172.16.0.0/16 -j DROP iptables -A INPUT -i eth0 -s 10.0.0.0/8 -j DROP #IP add of eth1 iptables -A INPUT -i eth1 -s 2xx.7x.1xx.xxx -j DROP #ICMP iptables -A INPUT -i eth1 -p icmp -j ACCEPT iptables -A INPUT -i eth0 -p icmp -j REJECT #the logging is set so if more than 5 packets are dropped in #Three seconds they will be ignored. This helps to prevent a DOS attack #Crashing the computer the firewall is running on iptables -A INPUT -m limit --limit 3/second --limit-burst 5 -i ! lo -j LOG #dropping everything iptables -A INPUT -i ! lo -j DROP
  5. you may try my smb.conf file, just rename your orig smb.conf by doing (as root) #mv /etc/samba/smb.conf /etc/samba/smb.conf.orig (or whatever filename you want it to be) then #vi /etc/samba/smb.conf then enter then you can copy and paste the config then save it (I assume u know vi on how to edit and saved, if not try to use the editor you are more familiar with) [Global] workgroup = MYNETWORK # workgroup could be anything, but its better to have all pc in the network to be in the same # workgroup netbios name = Linux PC security = user encrypt passwords = yes log level = 1 max log size = 1000 local master = yes preferred master = yes os level = 65 [homes] browsable = no map archive = yes # if you enable this, when you access your linux machine from windows, using you linux account # if no other shares defined below, you will only see your home folder when you browse the network [sharedfolder1] comment = your shared folder 1 writable = yes browsable = yes valid users = user1 user2 root #all users defined as valid users will be able to access the sharedfolder1 from network path = /home/www #the folder you intend to share from you rlinux box, here, the folder /home/www assuming you #have that folder created [Floppy] comment = Floppy writable = yes browsable = yes valid users = user1 user2 path = /mnt/floppy #here, you might want to share your floppy drive, if you still have one #just for example though and then, the smbpasswd, I have not tried to run it as a regular user, I' d always run it as root, so you may try it as root#smbpasswd -a user1 and it will prompt you to enter a passwd. after doing so, that user1 should be able to access linux shared folder from your windows box. The user1 password you assigned in your smbpasswd should not be necessarily the same linux system passwd password or it should be different, but making it thesame would still work try also #/usr/bin/smbpasswd -a user1 FYI, if you only want to access files from your linuxbox to your windows box, you dont really need samba to run.. you can use your konqueror browser and at the location type smb://<ip of you windows box> w/o quote then enter and if promted with a username and password, if your windowsbox is NT or 2k or XP, enter the particular user that has access to the shared folder you wish to access, or you may try the administrator user so you'll be able to access all shared folder including the administrative share
  6. yeah, you dont need to keep nfs or its daemon when all you want is samba, nfs is for linux/unix file sharing, but samba can do it also on linux-linux.
  7. you should have CUPS installed in your mdk box to be able to use the shared printer from your XP, fyi, not all printers are supported by CUPS or linux, some printers are winprinters, well, if you have tried it already in your mdk, that is, installed the printer directly to your linux box to check if it really supports that printer... then there should be no prblem by printing via network... opss: if not yet installed... #urpmi cups then you should start it as a service, you can manage it thru kde-control-center -- peripherals -- printers
  8. suggestion before you re-fresh-install, try to remove first any package related to ssh or openssh package, the openssh-askpass, and the openssh-client, then reinstall it again
  9. that problem always happen to me, i dunno really why, but especially the folder created by the crossover install.. anyway, have you tried the update-menus command? only as user in your konsole... this is what i always do after i add a certain package, because it supposed to appear immediately after package installation but, it wont, so what i always do is just to $update-menus -v
  10. try to #urpmi kernel- and it will show you all kernel available and that you may be able to install
  11. thanks cybrjacle, it works, yeah ur right, i am using ext3... and after doing the autorelabel, as what what you've said, I am now able to change the passwd of users and root... actually, I did it like this: disable selinux first via system-config-security then reboot, then enabled it again, then touch /.autorelabel then reboot. now its ok... for the replies
  12. after I enabled SELINUX in a Centos box, It does not allow me anymore to change my password, wether as root or as regular user, or It wont allow me to change the root passwd, though I still able to login as root. the following errors occurs: when as root: [root@centos01 user]# passwd Changing password for user root. New UNIX password: Retype new UNIX password: passwd: Authentication failure when as reg user: [user@centos01 ~]$ passwd Changing password for user user. Changing password for user (current) UNIX password: New UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error have'nt really familiarized yet this SELinux, so Im not really sure how to fix it, I'd enable it the other day, but only today I realized that there's a problem. any idea? [moved from Everything Linux by spinynorman]
  13. does mysqld listen to all ports? or to the interface connected to network or maybe it just listen to localhost.. btw, welcome to the board!
  14. at konsole,type as root #urpmi kernel-2.6.8.1.24mdk or the other one #urpmi 2.6.11-6mdk
  15. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3224 errors:0 dropped:0 overruns:0 frame:0 TX packets:144 errors:0 dropped:0 verruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2861916 (279.4 Kb) TX bytes:18921 (18.4 Kb) it seems that you have IPV6 enables, did youreally mean that? if not, maybe you can try to disable ipv6 ion that interface by inserting the line NETWORKING_IPV6=no on /etc/sysconfig/network
  16. have you tried upgrading your kernel, you can try the 2.6.11-6mdk or the kernel-2.6.8.1.24mdk..
  17. any ideas what are the available album/picture/web gallery generator for mandrake or generally linux?, I have tried bins, but is there still any package outthere that can generate like that of photoshop? I need suggestions pls... in advance [moved from Everything Linux by spinynorman]
  18. try to create a script that contains that command smbmount and put it inside /home/user/.kde/Autostart
  19. green means that, the file is a script and it is executable, try to $ls -l in that directory, see that wrx-rx-rx or something like that. ok, try to configure your nic using the ifconfig tool if MCC gives you trouble, well, i dunno really whats the difference while mcc just serves as gui of ifconfig ( just correct me if im wrong)
  20. try to read this one, maybe it could help.. sasl on postfix
  21. #urmpi ssh-server after install, make sure sshd run during startup, check it by #chkconfig tool or #drakxservices regarding the firewall, #drakfirewall, then check thus services you allow to accept connection which is ssh you can also #vi /etc/hosts.allow then add the ff: sshd: <ur-ip-add> sshd: ALL:DENY that would do a little security on it, your IP will be the one allowed to establish ssh connection to that box, especially if it is connected to internet
  22. using your konqueror, at the location, type: sftp://<ip-of-ur-otherlinux> then enter assuming that you enable ssh server on that other box of yours, then enter your regular account on that box
  23. xchm 098 in mdvLE2005, it does not properly display table of contents of a particular chm doc while the same chm doc opened at mdk10.1 using xchm 097 got no problem at all is there a way to fix this?
  24. if you installed the src-rpm, you can find it at /usr/src
×
×
  • Create New...