search for: adduser

Displaying 20 results from an estimated 731 matches for "adduser".

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...
2007 Mar 09
4
Adduser help
at http://wiki.openpbx.org/tiki-index.php?page=Easy+route+to+building+OpenPBX.org there is the following adduser command: adduser --no-create-home --ingroup openpbx --disabled-password --disabled-login openpbx This does NOT seem to be the right format for Centos. So far, using man, I have come up with; adduser -M -g openpbx What else do I need?
2003 Apr 08
1
adduser and crypt
Hello! adduser(8) perl script uses crypt(3) to generate encrypted passwords, as pointed in /usr/sbin/adduser itself. Currently in /etc/login.conf password format is MD5 as default but adduser always generates encrypted passwords in DES format. IMHO adduser script should read value of passwd_format in /etc/login.c...
2004 Oct 26
1
adduser ?
I installed CentOS 3.3 some time ago and the first thing I did after the install was to run a little script that adds my user plus a few other things. The script adds my user like this USER="ulrik" PASSWD="<mypasswd>" /usr/sbin/adduser $USER -p $PASSWD It seemed to work fine except I couldn't login? I searched Google for reasons why I could only login via ssh as root and was about to send a long mail to this list, when I decided to change the password and try to login again, and this time it worked? Doesn't the -p optio...
2009 Nov 11
1
adduser is contacting the AD server?
Hello, I'm just wondering if someone stumble upon this. We are trying to create a local account but it looks like the adduser script is contacting the AD server for some reason and saying that the user "already exists" when it doesn't locally. Is there a way to disable adduser to contact AD or something similar? Thank you. [root at server01~]# adduser user01 adduser: user user01 exists [root at server01...
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
2004 Oct 22
5
Default permissions of /home/user..
Hello.. I've asked this question before without getting any further help really.. When a new user is added using "adduser" on 5.x (havn't really checked if it's the same under 4.x or not), the default homedir permission is 755 (drwxr-xr-x) which to me, looks a bit insecure? It's of course pretty easy to solve it by a simple chmod, but yet, isn't there anyway to change the default chmod value? Last...
2007 Sep 09
1
user / machine / group scripts, some work some don't
...w changed to -a and it worked. But adding users does not work at all. Different syntax, different problems, but nothing does work. With the example of the howto collection the user manager gave me "access denied" or similar (translated from german) as I tried to add a user. I tried to use adduser instead of useradd and came to these syntaxes: add user script = /usr/sbin/adduser --ingroup domusers --gecos samba '% u' delete user script = /usr/sbin/deluser '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to...
2005 Jun 21
3
Bug#315071: Results to your question
Hi, See below: # getent group adm adm:x:4:root,adm,daemon And: # ls -l /var/log total 20384 -rw-r----- 1 root adm 43310 Jun 21 16:00 auth.log -rw-r----- 1 root adm 128247 Jun 19 06:47 auth.log.0 -rw-r----- 1 root adm 10318 Jun 12 06:47 auth.log.1.gz -rw-r----- 1 root adm 9508 Jun 5 06:47 auth.log.2.gz -rw-r----- 1 root adm 12475 May 29 06:47 auth.log.3.gz
2006 Dec 03
12
Problem with user type on 0.20.1... uses group "absent"
Hi, I''m running into a problem with the user type with puppet 0.20.1... this worked before with 0.19.x at least, not sure about 0.20. But I''ve got adduser.pp: <snip> define adduser($uid, $gid, $groups="users", $membership="minimum") { group { $name: gid => $gid, allowdupe => false, ensure => present } user { $name: uid => $uid,...
2013 Jul 29
2
puppet apply --hiera_config --> Error: Could not find class
...The ''users'' module: [root@vserver-151 manifests]# pwd /etc/puppet/modules/management/users/manifests init.pp: # class users { import ''defines/*.pp'' include users::users include users::system include users::apps } [users.pp: # class users::users { @adduser { ''wdijkerman'': ensure => present, uid => ''1001'', comment => ''Werner Dijkerman'', groups => [''admin''], key => ''<--SNIP_very_long-->'', key_type => &...
2014 Aug 26
1
Need password for adduser script
Hello List, we like to add a newly generated user account that was created with the domain user tools, to another service on a separated machine, with the same credentials. Is there a simple way to retrieve the password like the username (%u) to hand the (cleartext-) password over to our adduser script? I know this is a hack, but we want to have a soft transformation until our AD service is stable. Thank you Joe
2008 Feb 01
2
cannot rewrite shadow password file
Hi, I run Centos 4. I can't add users using the adduser command, I get this error: adduser: cannot rewrite shadow password file I can't change the users passwords with passwd, I get this error: passwd: Authentication token manipulation error What is wrong? Thank you Samuel
2010 Mar 31
3
Could not find dependency
Hello, I have the following define: define adduser ($shell, $group, $fullname, $ingroups = "none", $home = "none") { user { "$name": ensure => present, comment => "$fullname", gid => "$group", groups => "$ingroups", membership => minimum,...
2003 Mar 20
0
It takes 35 seconds to run a command adduser when winbindd is running
Dear Sir/Ms.: I am running samba 2.2.8 and Winbindd, and the "wbinfo -u", "wbinfo -g", "getent passwd", and "getent group" all work correctly. The problem I have is this: If I issue a command "useradd jeff" on a Linux machine, it takes 35 seconds to add a user. If I stop winbindd, the command useradd will add a user immediately. This
2005 Jun 15
1
Adduser failing to accept 'username$'
Hi group, For some odd reason - most likely my current level of n00bness - my useradd refuses to accept the $ in the machine name, when adding a Windows machine to my Samba 3 installation. I'm running Red Hat linux with a newly compiled version of Samba 3.0.14a. Any ideas? Best regards, Casper Helenius, Denmark
2007 Jul 17
1
bulk adduser scripts for smbldap-tools
I'm looking for scripts to create bulk users on a Debian Etch/samba3/smbldap-tools0.9.2-3 pdc. I've been looking through the archives and all over google. To no avail. So far all I've found is a reference to a script that comes with smbldap-installer..which I cannot find either. TIA ----------------------------------------------------------------- This email message is intended
2002 Sep 12
1
Add machine account
Sorry everyone for asking this stupid question. I want add a system account to my debian system. I did it on another machine a couple of months ago and it worked fine with this command (I think). Iam typing the command: adduser MACHINENAME$ but I keep on getting this error mssg: adduser: Please enter a username consisting of a lower case letter followed by lower case letters and numbers. Use the `--force-badname' option to allow underscores, and uppercase. If I try it again with the --force-badname option, it does a...
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
2003 Jun 20
2
Samba 2.2.7a - adduser script only worked the first time
I have WinXP machines loging into a samba domain. I am using this add user script: add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u This worked beautifully with the first WinXP machine I set up. I immediately booted up a second machine and got the "Access Denied" error. I have tried two more computers since and keep getting the same thing but the first machine still