General :: List Of Users / Administrators In Group?
Aug 31, 2010I would like to know a command which will tell us,
1. List of users under a group and
2. List of Group administrators in a group.
I would like to know a command which will tell us,
1. List of users under a group and
2. List of Group administrators in a group.
i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?
View 3 Replies View RelatedWhen I have different people log into our ftp and browse to the same folder, some people see the files inside, some don't. all the user accounts are in the same group, which has permission to this folder. but the one user who can see the files is the owner. how can i fix it so everyone in that group who's the owner of the folder can see the files?
View 10 Replies View RelatedI have a number of users, categorised into various groups. I would like one of those groups ("developers") to be in the wheel group as well. I don't want to just copy the people from the developers group into wheel, because then when that group changes I'll have to change it in two places. Is there a way to specify that anyone in developers is in wheel, and have that be dynamic?
View 7 Replies View RelatedI need to assign permissions for ftp users. For that I need to create groups with different permissions like upload, download, rename, delete, rename and delete. And the users added to the group need to have that group permissions by default.
View 5 Replies View RelatedHow to get all group list of particular user in linux to whom which he is member.
View 3 Replies View Relatedscript which can add a secondary group to all existing users except system users in linux.
View 5 Replies View RelatedI've been asked by my professor to add the list of users to a linux server (not sure of the OS type I think he said debian) but anyway. He gave me this script to add users.
Code: #!/bin/bash
# Script to add a user to Linux system
if [ $(id -u) -eq 0 ]; then
read -p "Enter username : " username
read -s -p "Enter password : " password
egrep "^$username" /etc/passwd >/dev/null
if [ $? -eq 0 ]; then
echo "$username exists!"
exit 1
else
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
useradd -m -p $pass $username
[ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!"
fi
else
echo "Only root may add a user to the system"
exit 2
fi
I need to see if I can get this script to read a file that list the usernames and their passwords using the pipe command (or some similar command) so I can just do it in one batch. I've done some searching but there are so many vairiations of the code that I've confused myself. Also, I'm not too familiar with linux, it's been a few years since I've used it but in the prior script, I need to add the users to an existing group named "forensics". Which line would I change/add in order to do this?
how to map all domain users form group Domain Users to local group users (and maybe some more)? Im using Ubuntu 10.04 x32. Its connected to my domain using Samba and Winbind, I can login using my domain credentials, automatically map user folder form DFS server, but I think that domain users have too much priviledges in the system and want to restrict them as much as possible
View 2 Replies View RelatedMaybe I'm missing something obvious but I do not see it listed in vgdisplay.
View 1 Replies View RelatedHow would i remove rwx permission for group and other users for all hidden files (except . and ..) inside /root using a one line command.
View 4 Replies View RelatedIn other Linux distros I've used, new users are assigned to their own group (i.e. user 'joe', group 'joe') by default. To my surprise, when I create new users with my openSUSE 11.4, they are all assigned to the 'users' shared group by default.To test this, I created a new user called 'friends'. From my terminal, I can see how the new user files look like:
joe@linux:~> ls -l /home/friends/
total 40
drwxr-xr-x 2 friends users 4096 Sep 3 11:37 bin
[code]...
How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?
View 4 Replies View RelatedMy system is SUSE 11.1 I want to see who is connected via SSH. For instance, I have users connected using FileZilla. I can see in th e/etc/var/messages that they authenticated/connected, but I can't see if they have since disconnected or not.
Also, about 3 years ago I used to use Fedora for my SSH and in the sshd_config I'd make custom logs for each account, specify which user accounts were possible, port number, etc, etc. Is this possible to do using the SUSE linux? Any links on how to do this on suse? I haven't used linux in 3 years and can't find my old sshd_config files to take a glance...I did look at the sshd_config on SUSE, but it looks very different.
We are using OES 10.00 and would like ot print list of all users in the container.
View 3 Replies View Relatedhow can root list/edit crontabs of other users?
View 2 Replies View RelatedI need to figure out a bash command to list all users logged in at or after 5pm - 5pm being the specifier in the command.
Code:
Command seems to be the easiest way to display users but it specifies all users log times.
I've also fiddled with the lastlog command to no avail.
What is the group 'users' (gid 100) for? It's tempting to use it as a general group for accounts that log in but would that cause a security risk? I've done a search for files owned by this group and there don't appear to be any. Googling the words gives very non-specific results!
View 3 Replies View Relatedhow to isolate users from a group ie accounting and force them to change their password upon login
View 1 Replies View RelatedI want to implement quota per group users like this: Assume i have a Student group in my system, that student1 and student2 and student3 are three users in this group. i want to set quota 100GB per each user in this group, 100GB for student1, 100GB for student2 and .... The problem is when i set quota per group i cant say each user in that group have 100GB quota limit, also when i set quota per user, i should set one by one for each user.I want to know, is there anyway for set quota for all users in specific group?
View 3 Replies View RelatedI'm using Slackware with NFS share and I've been wondering why I had problems with access to some folders and I finally figured out that NFS limits group membership only to 16. Is there a simple way to circumvent this in Slackware?
View 7 Replies View RelatedI'm using squeeze. hal allows any user (at least, ones logged into the console) the ability to automount any removable drive that is plugged in. I want to restrict the ability to automount to users who are in the group that owns the device node for the drive (some distributions use the "plugdev" group for this.) I know I can turn off automount individually in each desktop, but seeing as hal is the thing that runs as root and is actually doing the mounting, it seems to make the most sense to change the setting in hal.
View 2 Replies View RelatedI want to apply the same settings of Gnome among a group of users. I configured a "master"-user and exported his Gnome settings using
Code:
gconftool-2 --dump > gnome_settings.xml
For the other users, where the settings from the "master"-user shall apply, I did
Code:
gconftool-2 --load gnome_settings.xml
While most of the settings were set properly, I am missing the links for Firefox and OpenOffice in the panel which I had configured. How I can copy the Gnome settings from one user to another, including links to Firefox and OpenOffice in the main panel?
I have server 9.04 and joined thru winbind to Windows Domain and subversion installed.Windows AD users can use their own credentials to join and everything is working fine.However the group svn which is used to access the repos in /etc/groups has some users.However I would like to add the domain users group to the svn group but the domain users contains Space. And /etc/groups does not happend to read the space any ideas on how to add "domain users" to the svn group in /etc/groups
View 1 Replies View RelatedI have a box with about 30-40 users on it, and I need to prevent a certain group of users from using sudo at all. Is this even possible.
View 4 Replies View RelatedI want to add some users to multiple groups. syntax of the file to pass to ldapadd? or would I use lapmodify? Does one add/modify a user record to specify the groups that user is a member of? Or does one add/modify each group record to specify which users are members?
View 1 Replies View Relatedi added users to the group om PDC after it i shared folder on linux server and given permission for users from this group, the folder is showed correct. After it i removed users from group, but the folder is accessible. Where is mistake?
[global]
workgroup = STSCOMPANY
password server = *
[code]....
For some odd reason in wheezy it's not downloading the packages in the 'all' architecture, this leads to interesting issues when it comes to things like installing chromium and other packages that aren't built for one particular architecture. I've only noticed this in wheezy, and i'm not sure if this is normal. If there is any easy way to fix this, I'd be more than happy to hear.When i try to do an apt-get update, it only downloads from amd64 and not all. I've tried the mit mirror, and also the one shown there or well the default one but it still doesn't seem to be working right.
View 2 Replies View RelatedI am using SuSE 11.2's built in Samba and LDAP server (that comes with Yast) on our network. Everything connects fine, I can access shares, I can authenticate correctly, but I just need help on how to create a local admins group so Windows users can install their own software and such.
View 14 Replies View Relatedi just want to prevent from now on from all users maybe even root from adding other users to groups like wheel for example. I also want to know how can I prevent from all users to create new groups or add users to new one.real
View 2 Replies View Related