Displaying 20 results from an estimated 4000 matches similar to: "adduser and crypt"
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
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
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?
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
2012 Jun 08
13
Default password hash
We still have MD5 as our default password hash, even though known-hash
attacks against MD5 are relatively easy these days. We've supported
SHA256 and SHA512 for many years now, so how about making SHA512 the
default instead of MD5, like on most Linux distributions?
Index: etc/login.conf
===================================================================
--- etc/login.conf (revision
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
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
2007 Sep 09
1
user / machine / group scripts, some work some don't
Hi List,
I have some issues with user manager for domains (srvtools.exe from MS)
and the scripts mentioned in the subject. The examples from the samba
howto collection seem to cause serious issues here. I am on debian etch
and tried to create my own scripts but till now to now avail. With the
examples from the docs I could add groups, but could not add users to
groups. There was the option -A
2013 Jul 29
2
puppet apply --hiera_config --> Error: Could not find class
Hi there,
I''m running into an problem which I can resolve. It is bugging me for
couple of days now.
Goal: CentOS 6.4 freshly installed incl puppet 3.2.3 and I want to install
puppet master, puppetdb, mod_passenger & apache with "puppet apply". So
when this is complete, I should have an puppet master server running so I
can create new hosts etc.
So this is the command
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
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
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,
shell => "$shell",
home
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
2000 Jul 28
1
UNIX/NT Account Creation Scripts?
Hi:
We're running Samba on a Unix machine which is a member of the NT domain.
This has several interesting ramifications involving UIDs and passwords
(I've listed those below). But this is my basic question:
Does anyone have any scripts they use across UNIX and NT
to create user accounts? I have access to rsh and
adduser.pl with the NT Resource Kit, so presumably I
could write
2005 Sep 15
1
Don't install asterisk-chan-capi
Show this message
adduser: Warning: The home dir you specified already exists
adduser: The user 'asterisk' already exist, and is non a system user.
dpkg: errrore processando asterisk-cah-capi (--configure):
il sottoprocesso post-installation script ha restituito un codice di errore 1
2013 Jun 08
1
Puppet error reporting
Trying to understand how puppet reports errors
Example of why I am asking the question (on a test setup environment)
Created a base-1 node
Created 2 slave nodes that inherit from base-1
Let''s call those slave1 and slave2
No errors. It all works.
Created a base-2 node
created a third slave that inherits from base-2. Let''s call that slave3
Get an error
Could not retrieve
2007 Oct 24
1
user == Administrator doesn't work
User in group Domain Admins hasnt superuser (Administrator) privileges.
For the first:
shell> adduser poweruser
shell> pdbedit -a -u poweruser
shell> id poweruser
uid=1004(poweruser) gid=1005(poweruser) groups=1005(poweruser)
shell> net groupmap add rid=512 ntgroup="Domain Admins" unixgroup=poweruser type=d
shell> pdbedit -vL poweruser
Unix username: poweruser
NT
2020 Jun 15
2
Samba as a domain member:
On 6/15/20 12:35 PM, Rowland penny via samba wrote:
> On 15/06/2020 18:02, Christopher Cox via samba wrote:
>> Actually, as far as a base statement, you can have both,
>
> You cannot have the same user in /etc/passwd and AD, though if you persevere
> enough you probably could create them in both databases.
>
> Lets take a user called 'fred':
>
> rowland at
2001 Dec 28
2
Config Samba as a NT Domain Controller
Skipped content of type multipart/alternative-------------- next part --------------
bash-2.04# smbpasswd -a -m inet-p$
User inet-p$ does not exist in system password file (usually /etc/passwd).
Cannot add account without a valid local system user.
Failed to modify password entry for user inet-p$
-------------- next part --------------
Add NT Machines.
Every NT that will be on the domain must