*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i am new to bsd world. just installed freebsd 4.4.
i want to now how to allow remote root logins to freebsd box. in linux we just need to add pts/x lines in /etc/securetty but how to do this in Freebsd.
it allows us to login from any other user account except root.but when we do "su" it gives error that not in "wheel" group.i edited the "/etc/passwd" and make it the member of " wheel " group(setted the group id 0 ) but it didnt worked. users also can do "su" when login locally.
another problem is this that i changed the root default shell to "/usr/local/bin/bash" in "/etc/passwd" but it still gets the "csh" when login.it worked for other users but why not for root.
Example 8-9. Adding Somebody to a Group Using pw(8)
# pw groupmod teamtwo -M jru
# pw groupshow teamtwo
The argument to the -M option is a comma-delimited list of users who are members of
the group. From the preceding sections, we know that the password file also contains a
group for each user. The latter (the user) is automatically added to the group list by the
system; the user will not show up as a member when using the groupshow command to
pw(8), but will show up when the information is queried via id(1) or similar tool. In other
words, pw(8) only manipulates the /etc/group file; it will never attempt to read
additionally data from /etc/passwd.
> so the summary is
> 1. " In FreeBSD changing /etc/passwd does not work "
I wonder why not?
I also use FreeBSD 4.4, and I always make such changes successfully by directly editing /etc/passwd and/or /etc/group.
I think adding the users to the wheel group in /etc/group should work in FreeBSD 4.4.