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
Recent comments
1 day 20 hours ago
2 days 5 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 15 hours ago
3 days 7 hours ago
3 days 7 hours ago