Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Deny dba command to a user group!! Post 302122394 by RishiPahuja on Wednesday 20th of June 2007 10:58:35 AM
Old 06-20-2007
MySQL

Still its not very clear what exactly you want to do:

Assuming your database is in /opt/informix and you dont want users belogning to group xyz should get even read access to this directory. The command that should do this will be

chown root:root /opt/informix
chmod 770 /opt/informix : This command will make sure only user root and users belonging to group root can access this directory and no one else.

As you mention it is a live system please consult someone at hand before applying these commands. Because it could be possible depending upon your setup if user other than group root could be executing/reading from /opt/informix
 

10 More Discussions You Might Find Interesting

1. IP Networking

how to deny someone to use ftp command ?

hi,all, i have a question to trouble you. a workstation named AAA, and open the ftp services to permit user download and upload files. i have root password. a pc install windows 2k named BBB, someone install a serv-u ftp ( a ftp server software ) to transfer data. i don't have the... (4 Replies)
Discussion started by: yarx
4 Replies

2. Solaris

How to remove user from a group using command line

Hi, Wanted to remove a user from a group , but no GUI , must use command line (2 Replies)
Discussion started by: civic2005
2 Replies

3. Shell Programming and Scripting

Find all files with group read OR group write OR user write permission

I need to find all the files that have group Read or Write permission or files that have user write permission. This is what I have so far: find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}' It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies

4. Cybersecurity

File owned by oracle user and dba group need readonly access to other users

Under oracle user file abc.txt was created. Oracle user belong to dba group on UNIX Server. However other non Oracle users which belongs to some other network groups need read only access to this file. Every time when I login as other then oracle user and try to view this file it saying that I... (2 Replies)
Discussion started by: groosha
2 Replies

5. AIX

Does ACL can only grant/deny access for specific command?

Dear AIX/UNIX experts: I have a demand to restricted a file to be copy by others, but this file must can be read by others/Applications. As I tried, the chmod command cannot fulfill this requirement. But not sure if the ACL can achieve this function or not ? Could anybody give me your... (8 Replies)
Discussion started by: devyfong
8 Replies

6. UNIX for Dummies Questions & Answers

Allow user@ip_good but deny user@any_other_ip in sshd.

Is it possible? Scenario: ALLOW only access from: userok@ip_good DENY access from userok@* and ALLOW acces from *@* Regards ISrael. (4 Replies)
Discussion started by: iga3725
4 Replies

7. Emergency UNIX and Linux Support

Configure Squid to use LDAP group auth to deny internet access

Hi all We have squid-2.5.STABLE11-3.FC4 running in our environment. LDAP authentication works fine. Active Directory 2003 Users are prompted to enter credentials every time they access the net. The system works perfectly, but I need to configure Squid to block users in a specific AD group.... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

8. Ubuntu

Create New User with the same group nd privileges of the other user

Hi, Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01". I want both in the sames privileges and group. Please see the existing users list below; drwxr-xr-x 53 useroradb01... (0 Replies)
Discussion started by: fspalero
0 Replies

9. Solaris

Is it possible to deny a user to use Vi editor in Solaris?

Hi, I want to deny Vi editor to few users, is it possible to do the same in Solaris 10. If yes, then how? Thanks in advance............ (2 Replies)
Discussion started by: ajhal04
2 Replies

10. Red Hat

User is a Part of a Group But Group Details Do Not Show the User

Hi, In the following output you can see the the user "richard" is a member on the team/group "developers": # id richard uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers) but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies
PTS_SETMAX(1)						       AFS Command Reference						     PTS_SETMAX(1)

NAME
pts_setmax - Sets the value of the max group id or max user id counter SYNOPSIS
pts setmax [-group <group max>] [-user <user max>] [-cell <cell name>] [-noauth] [-localauth] [-force] [-help] pts setm [-g group max>] [-u <user max>] [-c <cell name>] [-n] [-l] [-f] [-h] DESCRIPTION
The pts setmax command sets the value of one or both counters that track the IDs the Protection Server allocates to new users, machines, or groups: the "max user id" counter for the AFS user IDs (AFS UIDs) assigned to users and machines, and the "max group id" counter for the AFS group IDs (AFS GIDs) assigned to groups. Use the pts listmax command to display the current value of both counters. OPTIONS
-group <group max> Sets the "max group id" counter. Precede the value with a hyphen to indicate that it is negative. When an administrator next uses the pts creategroup command to create a group entry and does not include that command's -id argument, the Protection Server assigns the group an AFS GID one less (more negative) than this value. -user <user max> Sets the "max user id" counter. When an administrator next uses the pts createuser command to create a user or machine entry and does not include that command's -id argument, the Protection Server assigns the group an AFS UID one greater than this value. -cell <cell name> Names the cell in which to run the command. For more details, see pts(1). -force Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the first error. -help Prints the online help for this command. All other valid options are ignored. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or -noauth options. For more details, see pts(1). -noauth Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1). EXAMPLES
The following command sets the "max group id" counter to -500 and the "max user id" counter to 1000. % pts setmax -group -500 -user 1000 PRIVILEGE REQUIRED
The issuer must belong to the system:administrators group. SEE ALSO
pts(1), pts_creategroup(1), pts_createuser(1), pts_listmax(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2014-04-08 PTS_SETMAX(1)
All times are GMT -4. The time now is 01:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy