The tag has no wiki summary.

learn more… | top users | synonyms

25
votes
4answers
6k views

What is the difference between the 'sudo' and 'admin' group?

I noticed that two groups are granted similar-looking permissions in /etc/sudoers: # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute ...
11
votes
2answers
2k views

What do the groups do in “Users and Groups”?

I know that some define permissions on the file system (such as www-data). But I don't understand why this question was answered successfully by adding a user to the "Video" group. So the question ...
10
votes
3answers
6k views

How do I add myself back as a sudo user?

I clean-installed Ubuntu 11.10 today, and then installed VirtualBox. This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a ...
8
votes
3answers
163 views

Why is there a new Group for me as a User?

Why is it that when I install Ubuntu with a user name, a new group is created with that name too? Is there a reason we're not just plain Administrators?
7
votes
3answers
2k views

What is the equivalent user for nobody:nobody from CentOS?

I am converting from centOS and am used to having a nobody:nobody user:group for running services. Does Ubuntu have a similar best practice user:group combination for running a service?
7
votes
1answer
547 views

How do I list the members of a group?

How can I see all the members of a group in Linux?
6
votes
2answers
2k views

How to check rights of certain group

I've a group on my system and I don't know which permission it has. Where can I find all group permissions? EDIT I see that I didn't made clear what I meant. I want to so an output like this: ...
5
votes
1answer
953 views

How to run an application at startup as a certain user?

Is there a way to have an application launch during startup under a certain user account? For example, I would like to have a_small_app run under the user account bob (which is in the group ...
4
votes
2answers
4k views

Adding user to a group - Why had to reboot?

I was not able to access the VirtualBox shared folder, so I made the user part of the vboxsf group. But, still not able to access it. Rebooting the guest resolved the problem. Is it a bug? A reboot is ...
4
votes
1answer
5k views

Default groups for user in Ubuntu 12.10?

Installed HP Linux Imaging and Printing by using install script and something crashed. Now I'm only member of my own group and lp. Which are the default groups for users in Ubuntu 12.10? Same as ...
4
votes
2answers
2k views

Default groups for user in Ubuntu 11.04?

I accidentally removed my user from some groups yesterday because of some virtualbox issues and today I couldn't use sudo to do anything and had to use a livecd to edit sudoers. Anyway I want to edit ...
4
votes
2answers
258 views

Is there any record of group membership changes?

I followed bad instructions and left the -a out of: usermod -a -G wireshark ak Now all of my groups have been lost, including sudo permissions: $ groups ak wireshark If I understand correctly, I ...
4
votes
1answer
2k views

Set default group for user when they create new files

I often find my self chown-ing files as I created them through SSH and they are owned by jm.jm for example. Then to allow Apache to access it, I need to for example do chown jm.www-data. I am sure I ...
4
votes
1answer
980 views

Nautilus automount - controlling GID/UID/mode bits

How do I set GID/UID and mode bits assigned to the directory in /media, to which my USB drive is auto-mounted when I plug it in (i.e. to the directory, which represents the drive itself, e.g. ...
4
votes
1answer
246 views

How to create a user group that can only use one application?

I need create a special user group which is only allowed to login in to gnome and execute only one application. How can I do that?
3
votes
2answers
204 views

What happens if a file/folder owner gets deleted?

What happens when I delete a group wich is owner of certain folders and files? Who become the owner then?
3
votes
1answer
523 views

What command changes the Group setting for a directory?

I am having an access problem to some files and directories that I have tracked down to the group assigned to access them. WHen I manually change the name of the group in the properties/permissions ...
3
votes
1answer
5k views

How can I find the password to www-data group to so I can change directory access rights?

I am running Ubuntu on a Oracle Vbox in Windows 7 to develop a website. I have a set of directories that have Owner rw permissions but the group www-data does not have rights on the directories . I ...
3
votes
1answer
38 views

mask and effective?

What is a mask and effective at output? getfacl /var/www: getfacl: Removing leading '/' from absolute path names file: var/www owner: Name group: Name user::-wx user:Test:rwx ...
3
votes
1answer
206 views

Differences between first (initial) user and other users

The user created by Ubuntu on install is different than the ones you create using the "Users and Groups" tool - the user is "Custom" not "Administrator". Besides being able to "sudo", what are the ...
3
votes
1answer
3k views

Adding an existing user to another group

I am having this strange problem. I am using usermod to add an existing user to another group. I want to create a new user and add an old user to this new user's group. To do this, I am doing the ...
3
votes
2answers
589 views

Degrading administrative privilege to standard with single admin user account

I recently met with a severe issue with user accounts. In my system, there is only administrator user named vivek. I added another user with name vivi and changed its privilege to administrator. After ...
3
votes
0answers
55 views

How to group apps in Unity Launcher [duplicate]

Possible Duplicate: Can I put more applications in a Unity icon? Gnome Panels used to have trays, where I can add multiple entries so that I can group applications together. How can I ...
3
votes
0answers
367 views

udev hide partition in nautilus for specific user/group

I'm trying to hide a partition form a specific group of users in Ubuntu 12.04. I have created a new rule in /etc/udev/rules.d/99-hide-disk.rules with KERNEL="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1" ...
3
votes
0answers
71 views

How can I setup a shared directory so that files moved/copied into the directory inherit the directory's permissions? [duplicate]

Possible Duplicate: Shared folders for all users There have been several questions regarding the creation of a shared directory accessible to all users of a group (notably this one); ...
2
votes
4answers
2k views

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
2
votes
1answer
1k views

locked out of sudo while knowing my password

I have one admin account and recently I have accidentally added myself to a single group (usermod -G without -a). So, I am not in the sudoers file anymore. However, root is not loginable by default on ...
2
votes
1answer
93 views

Can I specify tighter security group controls in EC2?

I see juju creates a new security group when we do a bootstrap .But this security group is so open that it allows all the machine inside the group to access all the ports. Is it possible to create a ...
2
votes
1answer
247 views

Can a directory belong to more than one group?

Can a directory belong to more than one group? (On windows it seems possible - but when I do an ls - it looks like there is only one group available.)
2
votes
2answers
1k views

How to prevent users from accessing root directory

While still allowing my account to access the root directory. I've tried adding myself to the root group with $ sudo adduser myaccount root but when I do $ sudo chmod o-r /etc followed by $ cd /etc $ ...
2
votes
1answer
21 views

Preconfigured group

Does anyone know where to find detail description or documentation for preconfigured groups on Ubuntu 12.04?
2
votes
1answer
327 views

Which groups should I normally belong to?

I accidently removed my user name from most of the groups it belonged to. I indeed miswrote sudo usermod -aG agmenor agmenor by forgetting the -a option. I found this question to add myself back to ...
2
votes
1answer
81 views

directory permissions adding user in a group

I added a user using useradd useradd -g upperdevs myuser But when I do an id check I didn't see the upperdevs group. id myuser #uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo) ...
2
votes
1answer
194 views

id command with and without user specified

As in the title, I wonder why there exists any difference as below: issue "id" without username: ygl@lyg-VirtualBox:~$ id uid=1001(ygl) gid=1002(ygl) groups=1002(ygl),112(nopasswdlogin) with the ...
2
votes
1answer
927 views

How to change primary group

I want to remove user pserver from the group apache. #deluser pserver apache /usr/sbin/deluser: You may not remove the user from their primary group. Now I want to add a new primary group. ...
2
votes
2answers
249 views

What is the significance of the group created along side a user?

As I was reading answers to this question asking how to change usernames, a suggestion to change of the name of the group was also made in this answer. What is the significance of the groups whose ...
2
votes
0answers
33 views

how to remove a group and its users

I tried to create the svn user in my server,and I create a new group svn and add the current user maven to the group svn. sudo groupadd svn sudo chgrp svn /usr/local/svn/repos sudo usermod -a -G svn ...
2
votes
1answer
228 views

polkit: disable all users except those in group wheel?

Is it possible to do the following using 1 polkit .pkla file? Disable all users except those in the wheel group from using polkit. The users in the wheel group will need to provide the root password ...
2
votes
0answers
23 views

How do I limit users in a certain group to using a few specific apps? [duplicate]

Possible Duplicate: How can I restrict program access to other users? I want to let users in a particular group use Firefox, Remmina Remote Desktop and Printers, but no other applications ...
2
votes
0answers
94 views

Standard user use software center

i have created a user and add him to the standard group now he cannot use software center, so i want him to stay in standard group but allow him to user software center. What is the best way to do ...
1
vote
3answers
420 views

php server web user setup

I'm needing to setup a basic web user account on my ubuntu 10.10 server to host web pages. This account should be limited to access only the necessary directories on the machine. I setup the following ...
1
vote
1answer
35 views

How to access a file belonging to some other group?

I saw this problem in an online hacking competition. The question asked us to print the contents of the file "secret" bruce@ip-10-144-4-86:/home/hacker-weekly$ ll total 20 drwxr-xr-x 2 ...
1
vote
1answer
242 views

What's the difference between the “group” and “group-” file?

I know what the /etc/group file is for, but I'm also seeing a /etc/group- file. What's the difference between the two? The same group names and ids appear in both files. Only the last column (users) ...
1
vote
1answer
755 views

Script to migrate unix users and groups

I'm migrating my Ubuntu 8.10 Server to 10.04. Is there any script to migrate users /etc/passwd and groups /etc/group along with password /etc/shadow from one server to another?
1
vote
2answers
103 views

Incompatible group permissions in Linux - Is it a bug?

I am on Ubuntu 11.04. I am creating another user and placing an existing user in the group of other user, hoping to write in the home directory of other user. # uname -a Linux vini 2.6.38-11-generic ...
1
vote
1answer
282 views

Is there a graphical method for modifying users' group memberships?

If I want to fine-tune a user's permissions, can I do it using a graphical interface? On the User Accounts screen I only see the option to change something called "Account type" between Standard and ...
1
vote
2answers
404 views

Trouble authenticating and with groups. Phantom duplicate user account?

I'm sometimes having trouble authenticating and it seems I'm no longer a member of the 'admin' group. Or I am.... but I have two user accounts with the same name and only one of them is... or ...
1
vote
1answer
189 views

How to create a group which is allowed to use the adduser command?

Does anyone know the commands for each step listed below? Create a new sudoers group called privilege1 allowing the use of the adduser command and nothing more. The sudoers configuration file is ...
1
vote
1answer
146 views

Rote copying the settings/preferences of a user to other users [duplicate]

Possible Duplicate: how to copy old user account to new user account? I have installed Ubuntu, with username andy, let's say I want to create accounts for ben, chris, dave and ethan, all ...
1
vote
2answers
1k views

How do I use “Initiate Window Picker for window group” in Compiz?

I use Unity and Compiz on natty. I have Scale and Scale Addons enabled. I set CompizConfig Settings Manager > Scale > Bindings > Initiate Window Picker for window group to set my keyboard shortcut ...

1 2