Slackware :: Add/remove Groups With User?

Dec 28, 2009

Code:

gpasswd -a username -g audio,...

What are the other options?

View 6 Replies


ADVERTISEMENT

Slackware :: What Groups Should User Be Added To

Jun 12, 2011

So I just recently installed fresh 13.37 over my 13.1 install. Went multilib, and added myself to the usergroups I thought I might need. But truth is, I don't know what half of these are and I just picked the ones that sounded right. I'm the only user on this computer, although I might possibly maybe add another someone if I have to for some reason.

For my user account, I added myself to:
Code:
bin
disk
mem
kmem
wheel
floppy
mail
news
uucp
man
dialout
audio
video
cdrom
games
mysql
sshd
gdm
shadow
ftp
messagebus
haldaemon
plugdev
power
netdev
scanner
users
console
kismet
vboxusers

Basically, I want my own account to be able to do everything I normally do without too much restriction (use the disc drive, mount hard drives, browse the web, read/send email via Thunderbird, download stuff, etc), but leaving the important stuff to root so that if someone else happens to use the computer under my account, they can't do any damage. Did I select the right groups for this? Should I add or remove any? And what groups should a user have if I just want them able to browse the web, download files, use their /home, run non-root apps, and nothing else?

View 8 Replies View Related

Slackware :: What's The Command To Add These Groups To User Account

Jan 29, 2010

What's the single command to add these groups to user account?

Code:

users floppy audio video cdrom plugdev power netdev

Suppose user account "myuser" is already created with only "users" group.

View 13 Replies View Related

Slackware :: User Permissions/groups To Access USB Scanner?

Jan 17, 2010

Slackware 13 64 bit Hp Photosmart c4280 USB (All-in-one)

- Printer successfully configured using CUPS

- Scanner only works when I am Root.

- When trying to access scanner as user it says there is no scanner attached.

What should be the groups for this user in order to access the scanner? Actually, they are: haldaemon, disk, audio, video, cdrom, plugdev, power, scanner, lp. Below are the outputs for sane-find-scanner (as both root and user), although, since the scanner works well under root, I am almost sure it is a problem with setting permissions and groups.

Quote:

# sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

[code]....

View 2 Replies View Related

General :: Difference Between Regular User And System User (and Groups)

Sep 28, 2010

What is the difference between creating a "regular" user and creating a "system" user on Linux?

For example:

Code:

adduser john

Code:

adduser --system john

Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.

View 1 Replies View Related

Fedora :: Adding The User And Groups?

Jan 15, 2009

just getting startedin linux <fedora9> and haveseveral questions. first what bookwould be best to start the learning process? have looked at fedora 9 and enterprise and the newest fedora 10 with enterprise and these seem to be aimed at networking setups which I do not have.also in adding users and groups which I have done I think successfully however when I use the newgrp command and try to access a file I have saved under a group with two members the file does not show in the ls command.

users are jevans in group programmers cevans in group programmers in creating the file I didthe newgrp programmers command and created the filein the cevans spotand changed to jevans and negrp programmers and the filedoes not show.so what do I do here, or is my understaning of this incorrect?

View 14 Replies View Related

Fedora X86/64bit :: Which Groups Should User Belong To

Dec 5, 2010

I've just installed Fedora 14 x64 and had a few problems. I have a GT9800 video card and after installation x wouldn't start untill I added xdriver-vesa nomodeset to the kernel line. Anyway I've just got it to the point where it will actually boot but wasn't asked to create a user - the live cd installation only asked for root user password. So I used useradd to create a user and I'm finally at the desktop. My question now before I go about installing the nvidia driver is can someone confirm which groups my user should belong to. I haven't used Fedora since FC3 so I can't remember.

View 2 Replies View Related

Red Hat / Fedora :: Creating User In Multiple Groups?

Aug 7, 2009

I created a user and I want the particular user in multiple groups. How Should I and after creating the user,If I want to delete that user from a particular group.

View 1 Replies View Related

General :: Set Default User Groups For New Users?

Dec 7, 2010

I am building a livecd, the live user created at boot time is a member of the audio group set in /etc/group. This way works for the livecd but when installed a user must manually add himself to the audio group. How can I set new users to automatically become a member of the audio group? In /etc/default/useradd I can set only one group.

View 4 Replies View Related

General :: How To Change User Groups Automatically

Jun 16, 2011

I've created a set of users using the newusers command. Unfortunatelly ive messed up and added all users to the 1000 group as primary group instead of giving the group argument as null what would add them to a new group. To make things clear:

The entries should be

user:password:::User Name:/home/user:/bin/bash

but I did

user:password::1000:User Name:/home/user:/bin/bash

I need to create the missing groups. A simple fix could be do a for loop creating a group with the name of each user in my file and then adding the users to it. Are there any dangers of doing it? What impact could this change have? Are there any safer ways?

A combination of the following commands:

Quote:

Add users to a group with the gpasswd command:

# gpasswd -a [user] [group]

To delete existing groups:

# groupdel [group]

To remove users from a group:

# gpasswd -d [user] [group]

If the user is currently logged in, he/she must log out and in again for the change to have effect.

Quote:

for i in (names)
do groupadd $i
gpasswd -a $i $i

Assuming I've created all users in group 1000 I could remove them from it with

Quote:

# gpasswd -d [user] [group]

View 2 Replies View Related

General :: Setting Permissions For Specific User And Groups?

May 25, 2010

i wonder, why nobody has written about it ...

How can i grant permission for files to specific user or specific group ??

Updated:

We have 3 groups: "g12" ("u1" and "u2), "g34" and "g56".

"g12" should only read the file.

"g34" should write and read it.

"g56" should have all permissions (rwx).

And others should not access the file at all.

View 3 Replies View Related

Ubuntu :: What Will Happen If Deleted All The Default User Groups

Dec 19, 2010

i am considered a power user in windows but in ubuntu ima total noob. in the users settings, manage groups, i see like 100 groups. and thats just annoys me, all i want is to be the admin and everything to work its not rocket science is that so hard for linux? I DO NOT WANT TO BELONG TO A FREAKING GROUP I JUST WANT 1 SIMPLE ADMIN ACCOUNT. someone please explain everything related to this subject. i mean i see stupid groups like 'audio' and 'couchdb'. WTFi dont want these useless groups to exist on my system

View 9 Replies View Related

Ubuntu / Apple :: Admin - User And Groups Not Working?

Jan 22, 2011

After finally getting Ubuntu 10.10 PPC up and working on my Mac Cube with low capability graphics, I noticed that when I try to run the "User and Groups" from the Administration menu, the program looks like it is starting but then never actually displays.. It shows up at the bottom of the running programs bar and then disappears. Well after having to completely re-install Ubuntu PPC 10.10 and installing all of the updates, User and group Administration still isn't working.. another app that would let me add my wife to my G4 Cube so she could use it?

View 9 Replies View Related

Ubuntu Servers :: LDAP Users And Groups - Adding A User

Aug 4, 2011

I have Ubuntu 10.04.2 (Linux 2.6.32-33-server on x86_64) with OpenLDAP 2.4.21 and Webmin1.550. I converted my ldap database from another system with the older style schema (OpenLDAP 2.3.3 with slightly older Webmin version 1.480) and no longer use slapd.conf, but the newer slapd.d format.

It all works fine except for one thing. When I add a new user, it lets me type in the additional LDAP fields:

But when I click the Create button, all the fields get jumbled together in the Title/Position box with a diamond question mark delimiting the fields:

Modifying existing users (which have the Additional fields displaying correctly) also has the same result - it moves the fields all into the one Title/Position box with the diamond shapes with question marks inside between each entry. Is it a problem with my schema files? I tried reverting to the older shema files and slapd.conf and it still did the same thing on the new system. I am really at a loss.

Here is also the output of ldapsearch for that user (host and samba ids are sanitized):

Previously added users that show the fields properly have "description:" and then the field listed for each Additional LDAP field. Also shouldn't the "title" be visible in plain human readable text here? - it looks like it encrypted it somehow - similar to a password hash. The older system works fine and the fields are all readable and in their proper locations. But the new system just doesn't work right.

View 1 Replies View Related

Slackware :: 13.1 - KUser And Groups (ADM / Wheel)

Oct 24, 2010

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?

View 10 Replies View Related

Ubuntu :: User Accounts And Groups Not Listed In Account Admin Tool?

May 7, 2010

I recently ran into a situation where the ftp user account suddenly could not login. I used the User and Groups system tool to check the user account and reset the password. I then attempted to use ftp and login with the new password and still could not. I then went to check the permissions on the folder and found that the system partition was full, so using gpartd I was able to resize the system partition.

However this still did not fix the ftp login problem. When I opened the User and Groups tool again, all users,including my main account, except root are no longer displayed and all groups are not showing. If I try to add the original ftpuser account I get the message that the user already exists. And my main account works for login still. If I add a new user, it is not displayed in the list either.

If I do a cat /etc/passwd I see all the users listed including the new one I created and cat /etc/group displays all the groups and everything looks like the users are still associated with the correct groups. I can use passwd to change the account password without error and I can use adduser to add another user. Howerver no users are listed in the User and Groups tool and users still can not login to ftp. I can reinstall proftp if needed but I would like to be able to use the User and Groups tool to administer users again.

PS: Forgot that just before encountering the ftp login problem, Update Manager and some updates listed that I attempted to install but got an error and didn't have time to check why. Now I know that the partition was full.

View 1 Replies View Related

Slackware :: Huge Amount Of Groups (LFS Built)

Feb 19, 2010

Does anyone notice that Slackware's user/groups is cluttered with things no one will ever need, do you need be to be part of the slocate group? like really? Why doesn't every program just have its own group then, I look at my distro (LFS built), SuSE and some others and I can't help but notice the huge amount of groups in slackware, if you going to add groups for everything then why in the universe do we even need sudo for? Just make the binary you want to work a group and change its ownership..... wtf is Pat and the rest of Slackware doing?

View 14 Replies View Related

Ubuntu Servers :: Get A List Of Both The Local Groups And The Groups In The Active Directory?

Feb 4, 2011

I already know of a work around to fix this problem, but I guess my question is why is this not working as expected? I am using a Windows Server 2008 R2 Active Directory for authentication.

I have run auth-client-config for the ldap profile and pam-auth-update. When running getent passwd, I get a list of both the local users and the users in the active directory (with populated information in the Unix schema extension). When running getent group I get a list of both the local groups and the groups in the active directory (with populated information in the Unix schema extension).

Interestingly enough, though, when I run su DOMAINUSER, after the prompt for the password I get an authentication error. In /var/log/auth.log I can see an entry with pam_ldap: missing "host" in file "/etc/ldap.conf". The SRV records in the DNS servers resolve correctly. I've checked this with nslookup and I have seen the records within my zone file. Obviously if the ldap.conf file is working with getent and the ldap server is resolving from the SRV records, it is working fine.

The interesting part is that the Windows Server 2008 R2 AD machine shows in the event viewer that there was a successful authentication, yet the Ubuntu box says no. When I add the host within the ldap.conf file, everything works...getent and the actual authentication, either initial login or su.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Mapping UNIX Groups To Windows Groups?

Oct 12, 2010

I am currently trying to set up a Samba domain server. In the Samba-HOWTO-Collection I found an
example file.(Point 3.3.3.1) In the explanations of the example below, the author says I need to map UNIX Groups to NT Groups. He writes a shell-script of how one could do it, but when I copy it and then execute it, I get the error:

Bad option: rid=512
Bad option: rid=513
Bad option: rid=514

The other groups do get mapped, just the Domain Admins, Domain Users and Domain Guests dont. This is the shell from the HOWTO:

#!/bin/bash
#### Shell-Skript f ̈r sp ̈tere Verwendung aufbewahren
net groupmap modify ntgroup="Domain Admins" unixgroup=ntadmins rid=512
net groupmap modify ntgroup="Domain Users" unixgroup=users rid=513
net groupmap modify ntgroup="Domain Guests" unixgroup=nobody rid=514

[Code]...

View 2 Replies View Related

General :: LFS /tools/bin/groups Not Displaying Supplementary Groups?

Jun 8, 2010

So i am at the stage of about to install the basic system and am using a derivation of the package management provided by Matthias S. Benkmann. To this end I am using his useradd and groupadd scripts to update the files:

/etc/passwd
/etc/group

My issue is that when I run the commands(created as part of temporary system when installing coreutils):

Code:

/tools/bin/su linux
#then as user
/tools/bin/groups

(here linux is the name of the user) This only returns the user being in the group named after user but not the additional group of 'install' Also, prior to logging in as user, if I use this command as root:

Code:

/tools/bin/groups linux

linux install This then returns that the user is in the correct groups. Lines from relevant files look like:

Code:

#/etc/passwd
linux:x:10000:10000::/usr/src/build:/bin/bash
#/etc/group

[code].....

View 8 Replies View Related

Hardware :: User Groups And Intel Gma3150 Hardware Acceleration

Mar 18, 2011

I have crunchbang statler xfce installed on my netbook. And everything used to work (with some work arounds for somethings) till i updated the system last week, and now i dont have hardware acceleration. When i run glxinfo as user i get the error segmentation fault, but as root everything seems to be okey. /var/log/xorg.0.log shows that the intel driver is loaded normaly. So this looks to me that i might not be in the right group. But grep video /etc/group gives as output: video:x:44:mardo

I even tried chancing the the DRI group to mardo in the xorg.conf without sucses

Code:
Section "DRI"
Group "mardo"
Mode 0666
EndSection

Code:
mardo@crunchbang-netbook:~$ ls -l /dev/dri/card0
crw-rw-rw-+ 1 root mardo 226, 0 Mar 19 11:33 /dev/dri/card0

View 4 Replies View Related

Slackware :: Slackware 13/VirtualBox 3.1: No Sound When Normal User?

Feb 15, 2010

I installed Slackware 13 in VirtualBox 3.1 (seehere)When I'm logged in as a normal user, I get a mesage that Intel *** (sound device) doesn't work anymore and I hear no sound.But it works very fine when I'm logged in as root.

View 4 Replies View Related

General :: Remove All Privileges From A Particular User?

Aug 5, 2011

I need to create a user in Fedora Linux(15) which only has privileges to print documents.Our college issues a printer to each lab and I need to create a new user on my Fedora which only has privileges to print.Network sharing is not an option, so is there any way by which I can a restrict a user from executing any commands except the necessary printing commands?

View 2 Replies View Related

Ubuntu :: Remove Live Session User ?

Apr 15, 2010

Before I start, I have searched everywhere I can for help with this, tried everything suggested and still cant do this.

The annoying thing is ive done it before but cant replicate it.

I have ubuntu installed on my usb stick using lili usb creator.

I want to remove live session user (username ubuntu).

Ive created my own account with privileges etc.

Ubuntu is 9.10.

View 6 Replies View Related

Ubuntu :: Remove User List On Lucid?

May 19, 2010

I want to know if there is any way that one could remove the user list from the login screen requiring the user to type in their user name. I am not quite sure why this feature is not implemented and it is one of the very few things I don't like about Lucid but hopefully there is a fix for it.

View 5 Replies View Related

Ubuntu :: Remove User List In Gdm Login For 10.04?

Jul 27, 2010

In Ubuntu 9.10 I was able to remove the user list from gdm. However in 10.04 I am unable to do this. I searched the forums with no luck.
I opened gconf-editor using sudo and went to apps>gdm>simple-greeter. I then checked disable_user_list.
After complete shutdown, I was still placed in the list screen. I checked gconf-editor and the disable_user_list was still checked.

View 3 Replies View Related

Ubuntu :: How To Remove Certain Stuff On User Profile

Jul 25, 2011

Setting up a small network for a private school. have ubuntu on the systems, but wanting to make user profiles that anyone can access and have admin profile that only I can access. that part was easy, but am trying to find out how on the all user profile I can block certain things out like media players and etc. I figured out how to hide them in the task bar but anyone with a little tinkering could find them. Anyway to remove certain things completely on all user prof>? How to Remove.

View 1 Replies View Related

Software :: Desktop User - Cannot Remove Akonadi

Jan 3, 2011

becouse on this system i am a desktop user, i wanted to remove akonadi server Quote: on Statement We intend to design an extensible cross-desktop storage service for PIM data and meta data providing concurrent read, write, and query access. It will provide unique desktop wide object identification and retrieval.

[Code]...

View 2 Replies View Related

Slackware :: Remove HAL And D-BUS From X?

Jan 17, 2011

I have installed Slackware 13.1 on my workstation. I do not want anything to do with HAL or D-BUS, and the first component i found out depends on this is the X Window System. I know the version of X Window System in slackware-current does not need these components. Is it possible to use the X components from slackware-current, and all other packages from Slackware 13.1? or is there a better way?

View 8 Replies View Related

Slackware :: Remove Kde From 13.1?

Jan 8, 2011

i want to remove kde from my system, but i want to be able to run kde applications just in case i need one in the future.. so what do i need to uninstall to still be able to run "Kprograms"? xD

i guess i'll just leave it there until my hard drive starts to run out of space xD.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved