search for: useradds

Displaying 20 results from an estimated 2858 matches for "useradds".

Did you mean: useradd
2009 Nov 19
0
migrating NT4 PDC to samba3. netrpc vampire errors
Hi, I am in the processof migrating a a NT4 PDC over to a samba3 server. I am following this guide:http://vermeulen.ca/linux-windows-nt.html I am able to join the Domain but when I go to net rpc vampire I get the following errors: Not all my users get transfered: [root at HERCULES ~]# net rpc vampire -S GENOME -w HERCULES -U administrator Fetching (to passdb) DOMAIN database Creating unix
2001 Oct 22
7
Add User Script
I am trying to read in a list of users from a file and automatically create users from that. Here is what I thought would work: #!/bin/sh cat /mnt/PDC1-UsrSync/user.diff | while read Foo; do useradd $Foo; done Contents of the user.diff file: dccut dclam dcprep dcshp But here is what I get when I run the script: > sh test.sh useradd: invalid user name `dccut ' useradd: invalid user
2015 Jan 25
2
C5 & C6 : useradd
useradd --help -d, --home-dir HOME_DIR home directory for the new user account -M, do not create user's home directory yet useradd -M -s /sbin/nologin FRED produces in /etc/passwd fred:x:504:504::/home/fred:/sbin/nologin Trying again with useradd -d /dev/null -s /sbin/nologin doris gives a CLI message useradd: warning: the home directory already exists.
2007 Oct 16
4
Useradd & NIS issue if the user exist
Hi, I have a class to add users to all the host servers. We are in the process to have a coexisting user which belongs in NIS & as well as /etc/passwd. We have NIS clients (yp running) on all host servers. So when running puppet is fails to add or modify user, bcos the user already exists in NIS. Eg: A user pcruise is an existing NIS user. When using useradd or
2008 Nov 25
2
adduser vs. useradd
Hi, To add a user to the system on the commandline, I usually use the adduser command. # adduser newuser And that's it. I've been using that command probably out of an old habit, since I've been a long-time Slackware user before. But now I wanted to dig a bit deeper, and some details puzzle me. Whereas on Slackware, 'adduser' is an interactive shell script to create a
2008 Jun 06
8
useradd provider not working?
I have this config: # BL00070 - Disable NFS service {["nfs","nfslock","netfs","portmap"]: ensure => stopped, enable => false, } user {"rpc": ensure => absent, provider => "useradd" } user {"rpcuser": ensure => absent, provider => "useradd" } file
2005 Feb 21
4
how to change default shell when using adduser/useradd
Hi, when I use useradd of adduser in CentOS 3 or 4, the default shell a user gets /bin/bash. I want this to be changed to /bin/false for security reasons... How can I accomplish this? Thanks in advance for any help. -- Michiel
2006 Feb 21
0
nobody run "add user script = /usr/sbin/useradd ....."
Greetings! I have the following configuration: Two PDCs with Fedora Core 4: PDC1 and PDC2. PDC1 trusts PDC2, respectively PDC2 is trusted to PDC1. I join an XP workstation to PDC2. After restart i can see both domains in the login screen domain combo box. I can logon to PDC2 , but not to PDC1, since the PDC2's /etc/passwd
2011 Feb 03
3
User Details
I have some questions on how I can perform the following actions from the terminal in CentOS 5.5 final. My Google searches aren't helping and I keep seeing references to the command 'useradd' but this isn't present on my box; -How to add a new user? $ useradd -bash: useradd: command not found (This is the same for my normal user and when logged in as root) -How to set/change an
2009 May 15
4
Timing in a script
Hi, all -- I am trying to write a script in which I can add users and their samba passwords easily and quickly.? It looks something like: ?? useradd -c "User Name" -g groupname -p unixpassword accountname ?? echo -e "smbpassword\nsmbpassword\n" | pdbedit -a -t -u accountname If I type the lines from the keyboard, it works fine.? However, when I try to execute the script, the
2004 Jul 23
1
NT domain migration to LDAP/SAMBA
Hi, I'm attempting to migrate an NT4 domain to Samba3, and getting quite frustrated with stuff that seems not to work as advertised. I'd appreciate any help. I've set up an OpenLDAP server, and Samba 3, configured it as a BDC, and tried running "net rpc vampire". This all works, and Samba does the appropriate stuff to try and populate the LDAP database. The scripts I've
2006 Jul 18
3
Unable to add computer to domain
Dear Expert, Pls help, I am in the progress implementing Samba as LDAP as PDC on FC5, I followed the instruction of "samba3-ldap-howto", now I am unable to add computer to domain.. Tried to check /var/log/samba and found the following: [2006/07/18 14:55:44, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2404) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
2005 Aug 26
3
On the fly Machine accounts
I have been trying for 2 months to get my samba server to add machine accounts 'on the fly" I have added both of these to my smb.conf add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u add machine script = /usr/sbin/useradd -d /dev/null -g 102 -s /bin/false Neither of these seems to do anything. I have around 250 computers to add, so adding the machine
2005 Mar 11
2
smbldap-useradd -w problem
I'm in the process of learning Samba and evaluating it as a possible replacement for Windows NT servers in our office next year. I have set up a small test network comprised of one NT 4 (SP6a) Workstation, one Windows 2000 Pro (SP3) and one Fedora Core 3 running samba 3.0.11 as a PDC. I'm using LDAP as the passdb backend with smbldap-tools 0.8.7-1. The Windows 2000 Pro machine can join the
2007 Sep 26
2
smbldap-useradd problem
Dear list, Arghl! (I'm sure you know the feeling). I'm still hooked on Samba by example, and trying to add users to my ldap tree. $ smbldap-useradd -m -a ldaptest2 Can't call method "get_value" on an undefined value at /usr/sbin/smbldap-useradd line 197 The documentation of the smbldap scripts mentions this sort of error (albeit with a different line number). Two possible
2006 Dec 01
1
Adding users with usrmgr/smbldap-useradd
Samba 3.0.23d, on Debian Sarge - using the samba.org packages smbldap-tools 0.9.2 Greetings all, I am trying to set up a new PDC using LDAP, etc. Adding/deleting/modifying users in LDAP works fine using phpldapadmin. These users also work just fine logging in/out. I am trying to get the usrmgr tool to also work, so im working on the scripts on the server. I am getting this error however when
2004 Jan 12
1
problem with smbldap-useradd.pl
hi. i?m having big trouble with smbldap-useradd.pl when i try #cd /usr/local/bin #./smbldap-useradd -a test i got this message: Can't call method "get_value" on an undefined value at ./smbldap-useradd.pl line 152, <DATA> line 283. help please!!!?? []?s Bruno Ricci
2004 Oct 25
2
Fail in add user script
Dear all, I have a problem with adduser script in smb.conf. I traing to log in WinXP as a user from trusted domain. But it writes me alwais this fail: useradd: unable to lock password file [2004/10/21 14:00:53, 3] auth/auth_util.c:smb_create_user(53) smb_create_user: Running the command `/usr/sbin/useradd -m veronika' gave 1 My add user script in smb.conf: add user script =
2009 Oct 22
2
useradd: invalid numeric argument 'someuser'
CentOS 5.3 w/ updates Puppet 0.25.1.rc2 (installed from source) Mongrel + Nginx Am I making a mistake or is this a bug? I''ve experienced this issue using 0.24.8 from EPEL also. Thu Oct 22 13:59:43 -0700 2009 //user::virtual-users_groups/User [someuser]/ensure (err): change from absent to present failed: Could not create user someuser: Execution of ''/usr/sbin/useradd -G
2005 Dec 12
1
Winbind & adding users... is `useradd` being called? %u parameter?
Hi there, This is probably a dumb question, so my apologies, but I've set up WinBind on my my Samba box & it seems to be authenticating against the domain, however new user accounts do not seem to be added. `wbinfo -u` returns a list of the users on the domain and I seem to have setup my IMAP server correctly to authenticate against that (using PAM), as I see the following in