LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2002, 09:13 PM   #1
realos
Member
 
Registered: Jul 2002
Location: Germany
Distribution: Redhat 7.3, Debian 3.1, Knoppix 3.1, Ubuntu 6.10
Posts: 113

Rep: Reputation: 15
useradd with default values ?!


root@local$: useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel

but now adding a new users does not seem to obey the default settings since every new users get an incrementing number as his ID. This is okay...but he is also in an GROUP with incrementing number.

e.g. useradd test1 --->>> ID 501 Groupid 501
useradd new --->>> ID 502 Groupid 502

r Group ID is not 100...Why ??? really strange....hmmm :-(

thanx for your hints people..
 
Old 08-09-2002, 08:38 AM   #2
macone
LQ Newbie
 
Registered: Aug 2002
Posts: 15

Rep: Reputation: 0
Thumbs down

This problem has catched my eyes, too. It looks like a bug in the useradd-Tool of RedHat 7.3. I found no way to solve this problem. The only thing is to use:

Code:
useradd -g initial_group ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
C++ prototyped func with default values ? Bluesuperman Programming 3 02-03-2005 10:20 AM
totem seek values and konqueror default profile mickyg Linux - Software 1 10-28-2004 07:12 AM
I need default rwx values for /var /usr =/ dmx9595 Linux - General 6 05-26-2004 06:15 PM
default values for /proc/sys/net/ipv4 robeb Linux - Networking 0 06-07-2002 01:35 AM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration