Jump to content

kimothy

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by kimothy

  1. Ok Swat works as it should, but i need help with the configuring.

    My only demand is that anyone with the right username and password can access my share folder, and only my share folder (/home/kim/Share/). They also has to be able to write to this folder and copy files from it, even dough they don't have an own user account on my computer...

     

    Thanks!

  2. In order to use swat: two things 1) as I mentioned earlier make sure swat is running (use MCC,System,Services and check swat when requested) 2) enter localhost:901 in a browser url (konq or Firefox or whatever you like). You are now in the Samba config tool. Adolfix mentioned Webmin, I think it's a matter of taste and I prefer swat others Webmin. Good luck.

     

    What do you mean with MCC, System, Services???

     

    Thanks for all the replys

  3. I made a samba account with the command 'smbpasswd -a <user>'. swat is not familiar with me... also i could'ent connect with localhost:901. In my case this would be 'bebe:901'.

     

    I made my samba password for my account, named 'kim', so with my own password i can write to any folder i usually can write to without being root, but I wont my father and brother to be able to copy from and to my computer, but only be able to access the share folder. So I created a 'guest account' with filesharing rights (this account has no home folder... only for file sharing), but even dough they log in as guest from the other computers they cant write to my harddisc. I avoided this problem by making the guest home folder '/home/kim/Share/', and that works perfectly... But this is not the proper way to do it, so I am still open to sugestions.

     

    Thanks

  4. I'm using Mandriva 10.2.

     

    I have made a 'share' folder in my home directory. The intention with this folder is to be able to transfer data from one computer to an other over our LAN conection. The other computers (one Win XP and one Mepis) can lokate and view my content, but they are not allowed to write to my drive... I can tranfer my data to the others and retrive date from their computers from my computer, but they can'y transfer anything to me.

     

    In 'share' folder properties I have changed the settings so that owner, group and others can view and modify content... So I have no idea why they cant write to my disk. My share folder uses the samba server. I would also like to mention that my home directory is on an other partition.

     

    Thank you

  5. Why do you get the "bash-3.00$"? THe answer is simple: because it is not a "login" shell (sounds confusing, though.)

    If you run "bash --login", a normal prompt should usually pop up. If not, _then_ you can tweak on PS1. And if you login from tty1 _and_ get bash-3.00$ instead of "\A \h:\w > " (or similar) for PS1, then something is wrong.

     

    bash-3.00$ bash --login
    bash-3.00$

     

    As you see it did not change my prompt... How do you make tweak on PS1?

     

    jboy told me to do this, but I was greek to me...

     

     

    login from tty1

     

    I dont know what tty 1 is... so that I have not tried.

    I want to thank everyone who has tried to help me by replying. THANK YOU

  6. OK, so enter this in a console: export PS1='[\u@\h \W]\$ '

     

    That should give you the original prompt that you had when you installed LE2005. If you like it, you can add that command to the .bashrc file in your home directory.

     

    Something must have changed your original prompt in some script file somewhere; perhaps in this .bashrc file in your home directory or /etc/bashrc. You might want to poke around to see where.

     

    If you want to play with different possibilities for your prompt, check the web links in my original message above.

     

    I did what you sead, but it did not help me much. Her a copy of what the console sead and whats in the file

     

    # /etc/bashrc
    
    # System wide functions and aliases
    # Environment stuff goes in /etc/profile
    
    # by default, we want this to get set.
    # Even for non-interactive, non-login shells.
    if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
    umask 002
    else
    umask 022
    fi
    
    # are we an interactive shell?
    if [ "$PS1" ]; then
       case $TERM in
    xterm*)
        PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
      ;;
    *)
      ;;
       esac
       [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
       
       if [ -z "$loginsh" ]; then # We're not a login shell
           for i in /etc/profile.d/*.sh; do
        if [ -x $i ]; then
            . $i
        fi
    done
       fi
    fi
    
    [CODE]unset loginsh

     

    bash-3.00$ export PS1='[\u@\h \W]\$
    >

    the next time I enter i get the 'bash-3.00$' again...

     

    as for the .bash.rc in the home directory. I have no such file...

    If it was should be in the tmp directory, well then it's gone...

     

    Thanks for the help so far, dough

  7. When you run the console it tells you where you are mounted an which user you are logged in as... well, not for me it don't. All I get is 'bash-3.00$'.

     

    as an eksample I'm installing alpha centauri

     

    bash-3.00$ su
    Password:
    bash-3.00# cd /mnt/cdrom
    bash-3.00# sh setup.sh
    Loki Update Tool not found, running installation program

     

    the console it self works but I dont get to know the mounting points or which user I'm using the console for...

     

    This is annoying! It's probobly my fault, dough. I think it has with the fact that i deletet the 'tmp' folder in the home directory.

     

    Please help

  8. I've extracted firefox into:

    'home/kim/ff/firefox-installer'

     

    I changed the directory to

    'cd /home/kim/ff/firefox-installer'

     

    then as root I typed

    './firefox-installer'

     

    The reply I get is

    './firefox-installer-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory'

     

     

    whats wrong? It worked perfectly in mandrake 10.0 yesterday, but in mandriva it fails.

     

    please help. thanks

×
×
  • Create New...