Linux - NewbieThis 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!
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.
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Sorry to say, but there is no need for a reboot after adding a new group.
I've been on Linux for 15 months or so but still haven't rebooted the system cos i added a new group. done oracle installation of 9i, 10g on rhel 4, 5 & Solaris 10 but never got this error.
selva can print o/p of tail -10 /etc/passwd & /etc/group.
secondly when u add oracle user, then his default home directory will be /home/oracle, which should already have been created.
Also paste o/p of ls -ld /opt
i guess its not a option issue but user which u have added.
I know you can have problems such as visudo failing to accept edits if you just added a user or group. This actually surprised me when I discovered it. There is a command that can be done for new groups, but I don't remember it. It may apply just for current shell as well, and not for a service that is already running in its own environment. I don't remember. Yes, services can be restarted but rebooting would be the easiest solution covering all bases, since the root user can't log out completely.
Perhaps using the distro's adduser wizard will do what is needed short of rebooting. Studying it's script may provide more answers.
I know you can have problems such as visudo failing to accept edits if you just added a user or group. This actually surprised me when I discovered it. There is a command that can be run to recognize new group memberships, but I don't remember it. It may apply just for current shell as well, and not for a service that is already running in its own environment. I don't remember. Yes, services can be restarted but rebooting would be the easiest solution covering all bases, since the root user can't log out completely.
It may be also that you simply need to start a new interactive shell, so maybe logging out & in again would be a better answer. I think this is the case for group membership.