03-05-2009
I have met the same CIS problem as your, could you help out that?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Here is my situation. On a RedHat 7.3 box, I have a user named jody.
When I log in with jody and type in "id", I get the expected output:
uid=1(jody) gid=1(jody) groups=1(jody), 510(test)
However, I cannot figure which "id" option allows me to change the effective gid. I tried the options... (2 Replies)
Discussion started by: Jody
2 Replies
2. Filesystems, Disks and Memory
My current GID are all < 100, however I am having issues now with this. Does anyone know of a way to change all GID's to perhaps add 100, IE so GID now = 23 will = 123. I am running an NIS network so changing the table is easy , however finding all the files on all my filesystems and modifying... (4 Replies)
Discussion started by: frankkahle
4 Replies
3. Shell Programming and Scripting
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Discussion started by: deal732
2 Replies
4. Solaris
Hi expert,
original :
# id
uid=0(root) gid=1(other)
after some event:
# id
uid=0(root) gid=1
how to put it back gid=1(other)
thanks. (4 Replies)
Discussion started by: olaris
4 Replies
5. Shell Programming and Scripting
I have a file in the following format. Groups of data merge together and the group number is indicated above each group.
1
adrf
dfgr
dfg
2
dfgr
dfgr
3
dfef
dfr
fd
4
fgrt
fgr
fgg
5
fgrt
fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies
6. UNIX for Dummies Questions & Answers
i am able to change the mode using chmod and able to change permission.
but i am not able to change group and ownership. getting as invalid
can any one help me regarding this . (4 Replies)
Discussion started by: satheeshkr_cse
4 Replies
7. Shell Programming and Scripting
Hi All
I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group.
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies
8. Shell Programming and Scripting
/etc/group
tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
uucp::5:root
/etc/passwd
mk789:x:234:1::/export/home/dummy:/bin/sh
po312:x:234:1::/export/home/dummy:/bin/sh
ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies
9. Programming
I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions?
When I add this code, I get the ORA-00937 error.
trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used
This is the original and returns all rows.
select (select... (3 Replies)
Discussion started by: progkcp
3 Replies
LEARN ABOUT FREEBSD
repquota
REPQUOTA(8) BSD System Manager's Manual REPQUOTA(8)
NAME
repquota -- summarize quotas for a file system
SYNOPSIS
repquota [-h] [-g] [-n] [-u] [-v] filesystem ...
repquota [-h] [-g] [-n] [-u] [-v] -a
DESCRIPTION
The repquota utility prints a summary of the disk usage and quotas for the specified file systems.
Available options:
-a Print the quotas of all the file systems listed in /etc/fstab.
-g Print only group quotas (the default is to print both group and user quotas if they exist).
-h Display information in a more human readable format rather than in historic kilobyte format.
-n Display user and group IDs numerically rather than converting to a user or group name.
-u Print only user quotas (the default is to print both group and user quotas if they exist).
-v Print a header line before printing each file system quotas.
For each user or group, the current number files and amount of space is printed, along with any quotas created with edquota(8).
Only members of the operator group or the super-user may use this command.
FILES
quota.user at the file system root with user quotas
quota.group at the file system root with group quotas
/etc/fstab for file system names and locations
DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.
SEE ALSO
quota(1), quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8)
HISTORY
The repquota utility appeared in 4.2BSD.
BSD
June 6, 1993 BSD