02-13-2016
If grep '^A:' /etc/group is showing no output, group A must not exist. I see nothing in the usermod man page saying that it will create new groups.
Try using /usr/sbin/groupadd to add the new groups to /etc/group and then rerun the usermod command to add that user to the newly created groups.
Last edited by Don Cragun; 02-13-2016 at 06:35 AM..
Reason: Fix typos: s/useradd/usermod/
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could some one please tell me why, when I run the following
php code:
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<?php
$readfile = file("rss_file.xml");
for ($k=0; $k<=count($readfile)-1; $k++) {
echo "$readfile<br>";
}
</BODY>
</HTML>
the tags do not appear in... (1 Reply)
Discussion started by: photon
1 Replies
2. Web Development
hi,
why my uploaded images are not visible both in front-end and back-end of my CMS ?
See the picture:
http://dl-client.getdropbox.com/u/72686/noPics.png
I checked the GD library in php. It seems ok...
http://dl.getdropbox.com/u/72686/GD.png
thanks
---------- Post updated at... (0 Replies)
Discussion started by: aneuryzma
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition.
I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering:
- I... (6 Replies)
Discussion started by: Dann-E
6 Replies
4. Red Hat
Hi,
I have added 30 GB Vmware Scsci disk in RHEL
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
I want to make this 30 GB visible to OS without reboot.
Pls help (1 Reply)
Discussion started by: saurabh84g
1 Replies
5. Solaris
Hi,
I have a strange problem. when i do ls i see a folder, say 'abc', but it disappears when i do ls -l. I cannot access or mv that folder. Solaris 10 (SPARC) doesn't allow me to create a new folder with the same name, as it already exists.
'file' command also doesn't recognize i 'abc'... (10 Replies)
Discussion started by: Mack1982
10 Replies
6. Shell Programming and Scripting
Hi,
In one folder there is a hidden folder. Whenever i do any ls -a i can't see the folder. However i can get into the folder by cd .foldername.
Would you please help me to identify what is the problem here. (13 Replies)
Discussion started by: anupdas
13 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi,
I am not able to see second page of my last post, giving me message database corrupted. Please check. (7 Replies)
Discussion started by: learnbash
7 Replies
8. Post Here to Contact Site Administrators and Moderators
Let's see if this works here.
(Except I can't post a URL ...)
I posted the thread above and you can't see content, only the subject title.
Moderator Don Cragun replied to the post in Shell scripting and programming. (2 Replies)
Discussion started by: Dalej
2 Replies
LEARN ABOUT DEBIAN
bup-margin
bup-margin(1) General Commands Manual bup-margin(1)
NAME
bup-margin - figure out your deduplication safety margin
SYNOPSIS
bup margin [options...]
DESCRIPTION
bup margin iterates through all objects in your bup repository, calculating the largest number of prefix bits shared between any two
entries. This number, n, identifies the longest subset of SHA-1 you could use and still encounter a collision between your object ids.
For example, one system that was tested had a collection of 11 million objects (70 GB), and bup margin returned 45. That means a 46-bit
hash would be sufficient to avoid all collisions among that set of objects; each object in that repository could be uniquely identified by
its first 46 bits.
The number of bits needed seems to increase by about 1 or 2 for every doubling of the number of objects. Since SHA-1 hashes have 160 bits,
that leaves 115 bits of margin. Of course, because SHA-1 hashes are essentially random, it's theoretically possible to use many more bits
with far fewer objects.
If you're paranoid about the possibility of SHA-1 collisions, you can monitor your repository by running bup margin occasionally to see if
you're getting dangerously close to 160 bits.
OPTIONS
--predict
Guess the offset into each index file where a particular object will appear, and report the maximum deviation of the correct answer
from the guess. This is potentially useful for tuning an interpolation search algorithm.
--ignore-midx
don't use .midx files, use only .idx files. This is only really useful when used with --predict.
EXAMPLE
$ bup margin
Reading indexes: 100.00% (1612581/1612581), done.
40
40 matching prefix bits
1.94 bits per doubling
120 bits (61.86 doublings) remaining
4.19338e+18 times larger is possible
Everyone on earth could have 625878182 data sets
like yours, all in one repository, and we would
expect 1 object collision.
$ bup margin --predict
PackIdxList: using 1 index.
Reading indexes: 100.00% (1612581/1612581), done.
915 of 1612581 (0.057%)
SEE ALSO
bup-midx(1), bup-save(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-margin(1)