Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> No More Smbadduser Command In Fedora?
Nigam
post May 2 2004, 04:45 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 2-May 04
Member No.: 2,874



No more smbadduser command in Fedora?

Guys, when I try to add user from samba on my Fedora how come there's no command of smbadduser? what's the alternative for this when your in the shell terminal.
Go to the top of the page
 
+Quote Post
Corey
post May 5 2004, 06:37 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



I don't use fedora, however, are you sure the command doesn't exist somewhere? Do a "su -" (su space minus) and do a "whereis smbadduser". If nothing is found then, update your locate database with "updatedb" then do a "locate smbadduser". I can't imagine fedora taking out the command, unless they want to force you to use some sort of graphical tool, however, as i said, i've never used Fedora, so I can't comment on that.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
Robert83
post May 5 2004, 06:50 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

that command is
CODE
smbpasswd -a USER


read this :

http://www.redhat.com/archives/fedora-list...h/msg00939.html


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
Corey
post May 5 2004, 06:53 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



d'oh, i should have remembered that, i used it yesterday. I think i was reading "smbadduser" but interpretty it as 'smbpasswd -a'.

My mind is mush since the leafs lost last night sad.gif


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
petterg
post May 6 2004, 03:29 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 12
Joined: 5-May 04
Member No.: 2,890



I'd like to add a followup question to this smbuseradd / smbpasswd thing - as the smbuseradd and smbuserdel are no longer available, how are we supposed to remove smbusers?
smbpasswd got the -a option to add users, but there are no options to delete users!
Go to the top of the page
 
+Quote Post
Robert83
post May 6 2004, 05:14 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

CODE
man smbpasswd


Output :
CODE
OPTIONS
      -a     This option specifies that  the  username  following  should  be
             added  to  the local smbpasswd file, with the new password typed
             (type <Enter> for the old password). This option is  ignored  if
             the  username following already exists in the smbpasswd file and
             it is treated like a regular change password command. Note  that
             the default passdb backends require the user to already exist in
             the system password file (usually /etc/passwd), else the request
             to add the user will fail.

             This option is only available when running smbpasswd as root.

      -x     This  option  specifies  that  the  username following should be
             deleted from the local smbpasswd file.

             This option is only available when running smbpasswd as root.

      -d     This option specifies that the username following should be dis-
             abled in the local smbpasswd file. This is done by writing a 'D'
             flag into the account control space in the smbpasswd file.  Once
             this  is  done  all  attempts to authenticate via SMB using this
             username will fail.


so -x is to remove usernames

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
petterg
post May 6 2004, 07:12 AM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 12
Joined: 5-May 04
Member No.: 2,890



Guess i'm blind.
Thanx
Go to the top of the page
 
+Quote Post
Robert83
post May 6 2004, 07:31 AM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

it can happen to anyone,

I was trying to mount /dev/hdb5 , and I forgot that it was removed .. smile.gif , thing like this will happen to all of us smile.gif


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post May 6 2004, 06:39 PM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I spent 3 days trying to figure out why my citrix changes weren't taking effect ... the last step of the procedure I was following said reboot to have the changes take effect .... 3 days later when I finally rebooted, they did indeed work.

We all have bad days smile.gif

Good thing I get paid by the hour and not by work accomplishments laugh.gif


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Nigam
post May 12 2004, 04:31 AM
Post #10


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 2-May 04
Member No.: 2,874



Yes, that's correct even me I forgot to do man smbpasswd but after that I got it. Thank you guys.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2017 - 07:58 AM