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.
I want to go to 13.1 but I have never managed to figure out the importance of the wheel, adm and users and other groups in KUser. I suspect that it is important but the standard explanations stop short of KUser as though no one wants to understand what it does and how it affects the way the PC and Slack work?
What are you currently using in v12 to manage users and groups? Are you using KDE 3.x as a desktop? Kuser is just a frontend to managing users and groups in KDE 4x. You could still use CLI
Code:
vipw
vigr
, if you needed to. User and group management is handled by the OS, not the desktop.
I needed a wifi (and a 3G capability - do you use the same expression in the USA?) and I have been using Ubuntu for a year or so but I understand that 13.1 includes wicd and that this should allow me to connect via wifi. So I will (I am testing 13.0 right now and I will be doing a full 13.1 installation in a day or two) be back to using Slack. But what you are saying is still not an explanation of what KUser does wrt to the groups? Or maybe it is not important at all?
KUser touches /etc/password, /etc/groups and (I think) /etc/shadow as required.
Slackware includes WICD but NetworkManager is available from slackbuilds.org
I still have got to the bottom this. Have re-installed Slack 13.1 after PC failure but I cannot find any info on the use of the groups - wheel, sys etc. Does one affect getting a usb memory stick to mount?
To make an account for yourself, use the 'adduser' program. To start it,
type 'adduser' at a prompt and follow the instructions. Going with the
default selections for user ID, group ID, and shell should be just fine
for most users. You'll want to add your user to the cdrom, audio, video
plugdev (plugable devices like USB cameras and flash memory) and scanner
groups if you have a computer with multimedia peripherals and want to be
able to access these.
To see what groups you are a member of, simply type the command groups in the terminal as a normal user.
If you need to add yourself to any of the above mentioned groups use the gpasswd command as root:
Code:
# gpasswd -a user group
Relpace user with your user name; and replace group with the group name that you are adding yourself to.
That works, that is to say the plugdev to get the usb mem stick working. But the entry from tommcd puzzles me. When I go to KUser the groups are things like plugdev?
You're correct. You probably won't find a convenient list of all the groups most distros use and explaining for what those groups are intended. Probably would be a nice idea to see such a list. New users more or less learn the commonly used groups through daily usage, reading, and asking questions.
Many 'nix sys admins prefer to use the command line for common admin tasks, such as modifying a user's group account associations. Yet for many home users, or part-time admin users, something like KUser is convenient. A great little tool and easy to use.
KUser has two primary tabs: one for Users and one for Groups. If you select the Groups tab, then when you select the plugdev group (double-click or press Enter) you will see a list of all users who are a member of that group. When you select the Users tab, then when you select a user account name (double-click or press Enter) you will see a dialog box showing that user's account information. In that dialog box is a tab to list all groups the user is a member. Typically the Primary group for each user account is the same as the user's account name.
With respect to a group's purpose, the wheel group is used to limit who can use the su command to change to the root/superuser account. If a user is not a member of the wheel group then in a traditional 'nix system, running the 'su root' command will be refused. Some distros completely disable the root user and effectively render the wheel group meaningless. On such distros, running commands with superuser privileges is performed through the sudo command.
Slackware is designed not to presume how you want to configure your system. You can use sudo or su, and the wheel group remains applicable in a Slackware system.
Being a member of the plugdev group allows users to mount and unmount removable devices. Mounting removable devices is a potential security risk and in traditional 'nix tradition, allowing that privilege is controlled through being a member of the plugdev group. Those user accounts that are not a member of the plugdev group are not allowed to mount removable devices.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.