Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st December 2006, 18:21
AEngineer AEngineer is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting Up Samba - Howto Problem

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.
Reply With Quote
Sponsored Links
  #2  
Old 1st January 2007, 20:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by AEngineer
- 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.
Yes, you must be root. You can create a root account like this:
Code:
sudo su
passwd
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st January 2007, 21:12
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
File Sharing Problem With Samba & (MS)ADS papaqube Server Operation 8 10th November 2008 11:25
Problem setting external mailserver erk Installation/Configuration 4 18th May 2006 10:56
Samba as a PDC HOWTO help jesterking HOWTO-Related Questions 2 23rd February 2006 19:45
Date stamp problem with samba file sharing cioscott HOWTO-Related Questions 0 11th January 2006 19:29


All times are GMT +2. The time now is 20:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.