SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The books I've already purchased from the slackware store mention adding groups in the /etc/group the problem is there is no /etc/group and if I try to get their in bash it tells me access is denied which is not supposed to be possible because sofar I can only login as root due to the fact that I can't add another user untill I can add the user to a group, and I need to know what groups are available to chose from and now as far as I can tell there is no group folder, "Sounds like politics to me" ?
So, in GNOME I go to root home, click on tree in the address bar I enter address: /etc, hit enter and no folder named group! any books out their that has any accuracy to Slackware 8.1 ?
I've looked at Unleashed 7.0 but that is for Slackware 4.0.
So far I can't find any documentation on Slackware that has any accuracy with 8.1 How do I find man pages on subjects or at all maybe they are up to date ?
maybe the commands don't change, but the files sure seem to...
Why doesn't Slackware have more up to date books ?
You can use Slackware's "adduser" script. It should be installed under /usr/sbin/ (<- in case you would like to see if it exists). Run it as root, and follow the directions.
Then to add more groups, in case you did not add them while running the adduser script, you can edit the /etc/group file, and add new users to the groups. BTW, /etc/group is a file, not a directory.
For more information you can check out /usr/docs/Linux-HOWTOs, /usr/docs/Linux-mini-HOWTOs, do a man on "group" and "groups", or search the net.
In the event your group file does not exist under /etc (but I seriously doubt it, otherwise your system would have given you some errors), then something happened during your installation. You can re-install it by mounting your Slackware CD (usually under /mnt/cdrom), change directory to where the etc package exists (/mnt/cdrom/slackware/a) and then re-install the /etc files by running (as root):
Yes this is helping, those powerfull commands definately get me around... Thanks guys,
I still do not see any groups to chose from though.
( Not as if I really know what I'm looking at either )
Or do I just start adding groups hoping that the "users group" & "admin group" isn't there, etc, then my next question is how to set the permissions per group?
then I get stuck in the command prompt terminals, especially after entering "vi /etc/groups" and "man groupadd", but how do I get back to a command prompt ? killing the window and opening another Terminal screen?
Originally posted by Viper after adding groups, can you see them anywhere, I may forget about a group and not back them up...
After adding a group, it automatically updates the /etc/group file for you.
You wouldn't necessarily backup a group, but the files they may own.
Group permissions are the rwx[size=large]rwx[/size]rwx.. ( <--- in bold and large ) of the permissions. To make a particular group ( example the group users ) the owner of a directory or file, you would do a:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.