Setting Up Samba - Howto Problem

Discussion in 'Server Operation' started by AEngineer, Dec 31, 2006.

  1. AEngineer

    AEngineer New Member

    I'm a newbie attemtping to follow the instructions in
    http://www.howtoforge.com/samba_setup_ubuntu_5.10

    Ubuntu (6.10) is working fine - desktop version
    I followed p.3 down to installing putty - which I did successfully

    Q1- Rights to server
    I can access the server I've set up using my ubuntu pswd (but only using the IP, not the name), but when I attempt to run the first command in italics "touch /quota.user /quota.group" I get a permissions error.

    - Am I right in thinking that this should command should be run through putty?
    - If so, how do I determine the proper user and password?
    - Must I be working as root throughout? If so, must I have in somewhat created a non-changing root account, something Ubuntu frowns upon from what I gather.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes, you must be root. You can create a root account like this:
    Code:
    sudo su
    passwd
     
  3. martinfst

    martinfst Member Moderator

    Semantics

    To get the semantics correct,
    Code:
    sudo su
    does not give you a new account, it just spawns a new shell with an effective user id of root. A slightly (system wise) optimized way of getting root rights is to use
    Code:
    sudo bash
    passwd
    which of course gives the same results. If you really want to logon as 'root', you'll have to assign a passwd to the root uid.
     

Share This Page