I notice there are '*'s and '!!'s in my /etc/shadow file.
And I know these are for preventing login. But what are the differences among '*', '!' and '!!' ?
THX!
PS:"jone" is a user added by useradd command.
Can some one explain to me how to disable the Shadow file or disconnect it from the passwd file. I am trying to configure a UNIX SCO box to use NIS and it continues to look at its own Shadow file. Thanks (5 Replies)
I'm writing a 'C' program on various systems (HP-UX, Solaris, AIX, NCR) which needs to interact with a user's password. Some of my systems are using the shadow password and some are not. It is possible for some of my systems to have /etc/shadow, even though the box is not using the file (I know,... (4 Replies)
Hi,
I am new to shell programming and trying to write a command that would show the etc/shadow file but without the hashes. So, something like this:
root: <HASH PASSWORD FOUND BUT OBFUSCATED>
daemon: NP
bin: NP
sys: NP
If there is a... (2 Replies)
Hi,
In shadow file
smithj:Ep6mckrOLChF.:10063:0:99999:7:::
3rd Field 10063 indicates the number of days (since January 1, 1970) since the password was last changed.
I want to get the result with script the date on which the password was last changed in YYYY-MM-DD format.
can... (8 Replies)
Dear all,
I need all of you to clarify about file permission and SUID, SGID as below:
Command:
$ ls -la /etc/passwd
-r--r--r-- 1 root root 1914 2011-04-15 11:22 /etc/passwd
# I've changed permission of this file
$ ls -la /etc/shadow
-r--r----- 1 root shadow 1397 2011-08-01 15:53... (3 Replies)
As a part of linux hardening
In shadow file all Application accounts which are not locked must contain only an asterisk “*” in the Passwd field.
But how would i do it by using command?
Is there any way other than modifying shadow file to accomplish this task? (3 Replies)
Hi,
I wanna see the content of the file /etc/shadow..
But i don't have the permission and also the root permission. Still is it possible to view it??? Any tricks?? (5 Replies)
Discussion started by: Adhi
5 Replies
LEARN ABOUT CENTOS
gamma4scanimage
gamma4scanimage(1) SANE Scanner Access Now Easy gamma4scanimage(1)NAME
gamma4scanimage - create a gamma table for scanimage
SYNOPSIS
gamma4scanimage gamma [shadow [highlight [maxin [maxout]]]]
DESCRIPTION
The tool gamma4scanimage creates a gamma table in the format expected by scanimage. You can define a gamma, a shadow and a highlight value.
You also can specify the size (maxin) and maximum output value (maxout) of the gamma table.
gamma is a floating point value, neutral value is 1.0, if the value is larger than 1.0 then the image gets brighter.
shadow defines the minimum input value that is necessary to create an output value larger than zero. shadow has to be in the range
[0..maxin]. Its default value is 0.
highlight defines the maximum input value that produces an output value smaller than maxout. highlight has to be in the range [0..maxin],
highlight has to be larger than shadow. Its default value is the same as maxin (16383 if not set).
maxin defines the size of the gamma table. The size depends on the scanner/backend. If the scanner uses 8 bits gamma input then maxin has
to be set to 255, for 10 bits 1023, for 12 bits 4095, for 14 bits 16383. The default is 16383. To find out what value maxin has to be call
scanimage with a very large gamma table [0]0-[99999]255 then scanimage prints an error message with the needed size of the gamma table.
maxout defines the maximum output value. Take a look at the output of scanimage -h to find out what maxout has to be. The default value is
255.
EXAMPLE
scanimage --custom-gamma=yes --gamma-table `gamma4scanimage 1.8 0 11500 16383 255` >image.pnm
SEE ALSO scanimage(1)AUTHOR
Oliver Rauch
EMAIL-CONTACT
Oliver.Rauch@Rauch-Domain.DE
10 Jul 2008 gamma4scanimage(1)