Re: New Question (add new users groups)

2004-06-11 Thread Rob
LW Ellis wrote:
The depth of my unix ignorance is showing...
I kept getting a glitch, probably from my bad install attempt.
New Question is not a useful subject of your email.
Formulate your question in a few words as a subject.
That makes it easier for others to browse through the long list
of emails in the mailinglist and pick those that are of interest.
I wiped my HD and re-installed FreeBSD with what I have learned.
I have configured my xserver and it seems to be working ok.
I read the the FreeBSD Handbook and found little about adding users or
groups.
1) Do I add a group before a user?
2) Other than sysinstall to add a user, is there anything else I need to do
to configure a regular (notsuperuser)
(Keeping in mind to copy .xsession and .xinitrc to that user's dir.)
In this case, and in this stage of your experience, I would recommend to you
to use /stand/sysinstall.
In an xterminal, become root and do:
# cd /stand
# ./sysinstall
This will give you the configuration dialog, that you may remember from when
you did the installation. But this time you choose the option:
   Configure   Do post-install configuration of FreeBSD
In the next dialog, you get lots menu items. Some of them are a little dangerous
(e.g. disk management), but you also see here User Management.
Go there and add a group and new user; this dialog explains itself, I suppose.
When finished, simply select Cancel and X Exit Install and you're done.
Would that work?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Question

2004-06-11 Thread Jerry McAllister
 
 The depth of my unix ignorance is showing...
 I kept getting a glitch, probably from my bad install attempt.
 I wiped my HD and re-installed FreeBSD with what I have learned.
 I have configured my xserver and it seems to be working ok.
 I read the the FreeBSD Handbook and found little about adding users or
 groups.
 1) Do I add a group before a user?

Yes.   
Probably to the appropriate group before you add a user whose primary 
group will be that one.

You can, but you do not need to make a separate group for each user.  
You may want to use the group ID to make categories of users who can
work together, for example.  

You can create a group just by editing the /etc/group file.
Copy one of the existing group lines and edit it with a
different name and number.  You can use regular vi(1) for editing
the group file.

Don't use any numbers below 100, and I suggest starting at
with 200 or even 1000 as a good round number.   Give you some
room to play after you get big ideas about some project - and you
are sure to do so if you stick around long enough.

 2) Other than sysinstall to add a user, is there anything else I need to do
 to configure a regular (notsuperuser)
 (Keeping in mind to copy .xsession and .xinitrc to that user's dir.)

There are various utilities to add users.  adduser(8) is probably the
best known.   Or you can just use vipw to edit the /etc/passwd and
/etc/master.passwd files directly and then create the correct home
directory and such by hand if you really want to get the feel of UNIX.
Do not edit either /etc/passwd or /etc/master.passwd with any other
editing tool.  vipw makes sure locks are handled and that the 
database is properly updated.

Also, as with groups, do not use any UID numbers below 100
and starting at at least 200 or 1000 is a good idea.
UIDs and GIDs below 100 are reserved for various standard usages.

jerry

 
 Thanx in advance!
 
 Later,
 Leon
 A fanatic is one who can't change his mind and won't change the subject.
 Sir Winston Churchill
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]