similar to: adduser vs. useradd

Displaying 20 results from an estimated 10000 matches similar to: "adduser vs. useradd"

2009 Jul 09
3
Add instantly active local user accounts *with* password using useradd -p option ?
Hi, I need to setup a load of user accounts on a series of machines, for testing purposes. I'm using a script to do this, but the only problem I have so far: I have to activate them all manually by doing passwd user1, passwd user2, passwd user3, etcetera. The useradd man page mentions a -p option to define a password, but I can't seem to get this to work. Here's what I'd like
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
2007 Jun 10
1
Problems with UserDir directive on CentOS 5
Hi, I'm currently setting up a local LAMP server to test various apps. Starting from the out-of-the-box configuration of Apache, I test it, and it's OK: http://localhost shows Apache's default page OK in Firefox. Now I edit /etc/httpd/conf/httpd.conf and replace 'UserDir disabled' by 'UserDir public_html'. I restart Apache. Then, as a normal user (kikinovak): $
2007 Aug 04
2
Data corruption on external hard disk
Hi, I'm using CentOS 5 on all my computers here (work + home) and I'm very satisfied with it. Some time ago I purchased a 300 GB external hard drive to store films, music, pictures and documents. Since there's no Windows machine around here (small South French village, town hall and public library use Linux :o)), I replaced the FAT filesystem on the disk by an ext2 filesystem.
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?
2014 Oct 11
2
Hi again & problem with minimal CentOS and Github
Hi everybody, I'm back to CentOS after a long period during which I've been using mainly Slackware. I still use Slackware for teaching and for my local clients (on servers and desktops), but right now, I'm planning to update my own documentation about CentOS, which is still based on version 5.x. First things first. For the moment I have a sandbox server in my office with a
2015 Mar 23
4
Facebook CentOS group close to 15.000 members!
Le 23/03/2015 17:26, Les Mikesell a ?crit : > There is a real simple answer to privacy on facebook. Just don't post > anything there that you would not want to be public. Just like this > mail list. I recently joined that list and wanted to publish a simple link to my technical blog dedicated to CentOS (http://kikinovak.wordpress.com). There's no commercial interest behind it,
2018 Sep 17
2
Very weird problem with handling symbolic links
Hi everyone, I just discovered something very weird on a vanilla CentOS 7 installation. If I create a link to /tmp as a normal user, it looks like I can't remove this link anymore. Here's what this looks like: $ mkdir test_link $ cd test_link/ $ ln -s /tmp/ link_to_tmp $ ls -l total 0 lrwxrwxrwx. 1 kikinovak kikinovak 5 Sep 17 10:56 link_to_tmp -> /tmp/ $ rm link_to_tmp/
2014 Dec 14
3
Broadcom wireless card: installation script for Linux-STA driver
Hi, I just installed CentOS 6.6 on my HP Pavilion DM1 laptop. The wireless card is only poorly supported in the default setup, so I decided to write an installation script for the Linux-STA driver, which works perfectly. https://github.com/kikinovak/centos/blob/master/6.x/broadcom-sta/broadcom-sta.sh Grab the files: # git clone https://github.com/kikinovak/centos Run the script: # cd
2007 Jul 18
2
samba roaming profile
Debian stable: Samba -3.0.24-6etch2 I set up a samba server as a pdc. smb.conf logon path = \\%L\profiles\%U logon home = \\%L\%U [profiles] comment = Network PRofiles Share path = /home/samba/profiles #read only = No #store dos attributes = Yes #create mask = 0600 #directory mask = 0700 #browseable = no #guest ok = no #printable = no writable = yes I created the folders /home/samba
2014 Dec 13
1
Remote Git vs. GNOME on CentOS 6.6: cannot open display
Hi, I just installed a fresh CentOS 6.6 desktop. It's a client's machine, it is physically installed on a testbench in my office. Usually, when I perform installations, I start with the base system on the testbench, and once networking is configured, I SSH into it and then do all the fine-tuning remotely. My configuration files, scripts and HOWTOs are all stored in a Github
2009 Jul 06
2
Trouble running 'alsamixer' as normal user on headless box with minimal system
Hi, I just transformed an old Pentium III 500 into a headless jukebox. It's installed in the basement, near the stereo. There's only a base CentOS system on it (GNOME unchecked, package customization checked and then everything unchecked). From there on, I just installed the ALSA utils, and vorbis-tools. The machine is only supposed to do one thing (and to do it well, UNIX philosophy
2010 Nov 10
1
Re-export an NFS mount from another machine for roaming profiles
Hi, In my office I have a server running CentOS 5.5. I have Apache+PHP+MySQL running on that server, and I'm exporting /var/www/html, so I can mount it on my main desktop with NFS. Server : grossebertha Desktop : babasse [root at babasse:~] # mount /dev/sda3 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620)
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.conf to decide what kind of salt (DES, MD5 or somewhat else) he gives to crypt. At
2008 Sep 13
5
Changing hostname?
Hi, I recently made a CentOS install on a machine with an unsupported network card. I had to add the driver for it later, once I finished the install. For now I have this: [kikinovak at localhost ~]$ hostname --fqdn localhost.localdomain Q: how would I change this to something like calimero.local? Here's what I *would* do, but I prefer to ask before. 1) edit /etc/sysconfig/network and
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
2009 Sep 19
1
Apache: confusion about virtual hosts and DNS on a local network
Hi, I set up a webserver with Apache on one of the machines on the local network. There's a DNS configured for the LAN, with a dummy domain name (presbytere.local), and every machine is pingable by its hostname. The webserver runs on the machine 'buildbox'. The webserver actually has two (static) websites on it, for testing and fiddling purposes. Each site's pages are stored
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
2009 Jun 07
3
Basic setup for vsftpd ?
Hi, I'm currently fiddling with G4U (Ghost for Unix), and I need to setup a local FTP server in order to get it to work. # yum groupinstall "FTP Server" --> installed vsftpd Here's what I'd like to do : * no anonymous access * only one user (user 'install' / pass 'install') The machine I'm installing it on has a static IP ok
2011 Jul 14
1
Problem adding new users after upgrade to 3.4.0
After upgrading to 3.4.0, I can no longer add new users. Any users that were added beforehand work fine. Any users that I attempt to create cannot login (error: NT_STATUS_LOGON_FAILURE). I was able to get one new user account to work (see below), but I cannot add any new users. The server is Ubuntu 9.10 running Samba 3.4.0. I am using: security = user pam password change = yes Updating