#1  
Old 23rd August 2006, 17:56
thaetviking thaetviking is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default useradd question

I have an Ubuntu server that is set up as a primary domain controller. A friend was helping me to set it up and he sent me info on adding a machine onto it but I forget how to read it. I have a machine called executive and a user named joe on the samba server called john using this info how would I translate it to work for me using these three commands:
debian:~# useradd -g machines -d /dev/null -c "Intern 3 Comp" -s /bin/false intern3comp$
debian:~# passwd -l intern3comp$
debian:~# smbpasswd -a -m intern3comp
Reply With Quote
Sponsored Links
  #2  
Old 24th August 2006, 17:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Did you have a look at this tutorial? http://www.howtoforge.com/samba_setup_ubuntu_5.10
__________________
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 26th September 2006, 16:02
trav04 trav04 is offline
Junior Member
 
Join Date: Feb 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Thumbs up

Quote:
Originally Posted by thaetviking
I have an Ubuntu server that is set up as a primary domain controller. A friend was helping me to set it up and he sent me info on adding a machine onto it but I forget how to read it. I have a machine called executive and a user named joe on the samba server called john using this info how would I translate it to work for me using these three commands:
debian:~# useradd -g machines -d /dev/null -c "Intern 3 Comp" -s /bin/false intern3comp$
debian:~# passwd -l intern3comp$
debian:~# smbpasswd -a -m intern3comp
debian:~# useradd -g machines -d /dev/null -c "Intern 3 Comp" -s /bin/false
useradd - Adds User
-g Group (Primary)
-d "Home Directory"
-c "Comments"
-s "shell"
passwd -l intern3comp$
-l "Login name"
smbpasswd -a -m intern3comp
unsure what the samba attributes mean. the -m might be the login name
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
question about how to's and quota rayman Installation/Configuration 4 8th December 2006 14:55
Simple question... I think - re: multiple domains. lidocayne Installation/Configuration 1 17th July 2006 11:53
Once again: question about hostname etc. Ronald HOWTO-Related Questions 1 27th June 2006 12:24
dns question, firewall and stuff.. TheRudy Installation/Configuration 11 18th June 2006 13:50
DNS naming/setting up question. 802_11 Installation/Configuration 3 4th April 2006 18:23


All times are GMT +2. The time now is 14:37.


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