Hy,
Coud someone tell me how to disable root login via terminal (only from console should be allowed).
There is no ssh installed, only telnet.
I created a user which will have permission to su to root, but now i don't know where and what to modify to disable root login?
SCO OpenServer 5
... (1 Reply)
Hello!
I'm going through security checklist for AIX 5.3 and i just can't disable remote login for root through ssh.
What i did:
- in /etc/security/user i added a line:
rlogin = false
which works fine when i try to login through telnet
- after installation of openSSH i edited... (3 Replies)
Ok guys,
I'm just getting back to this amongst several other projects, but I thought I'd re-address it. I'm creating the script to disable windows from the previous login under 10.7. In order to do this it seems I need to create the same script for applications that launch and create the... (6 Replies)
Hi Experts,
I am using ubuntu.When i am trying to login it is showing grub ..How i can overcome to this problem..Pls reply me ASAP..
Thanks,
Sree (1 Reply)
I have a v490 server running Solaris 10.
Everytime I reboot this machine, the console-login service goes to maintainance mode and I have to provide the root password. All the other dependencies are running fine and nothing there in the logs too. To bring it online, I have to enable it manually.
... (1 Reply)
Hello all friends
I recently disable runlevel 1
i want to know , is there any way to disable emergency mode and init mode
init mode means if any user pass kernel parameter at grub i.e init=/bin/bash
then bash shell appears
I want to disable it for security purpose
System = Debian 6... (4 Replies)
Hi Guys
After installing my CentOS in virtual machine i am not able to get the graphical mode. By default it is going in TUI mode.
Please help how to get the graphical mode by default.
I am already in init 5.....
Thanks...:wall: (1 Reply)
Hi All
Is any one know how to diable CBC mode cipher encryption along with MD5 & 96 bit MAC algorithm in solaris 10.
Regards (4 Replies)
Discussion started by: amity
4 Replies
LEARN ABOUT PHP
mcrypt_get_iv_size
MCRYPT_GET_IV_SIZE(3) 1 MCRYPT_GET_IV_SIZE(3)mcrypt_get_iv_size - Returns the size of the IV belonging to a specific cipher/mode combination
SYNOPSIS
int mcrypt_get_iv_size (string $cipher, string $mode)
DESCRIPTION
Gets the size of the IV belonging to a specific $cipher/$mode combination.
It is more useful to use the mcrypt_enc_get_iv_size(3) function as this uses the resource returned by mcrypt_module_open(3).
PARAMETERS
o $cipher
-One of the MCRYPT_ciphername constants, or the name of the algorithm as string.
o $mode
-One of the MCRYPT_MODE_modename constants, or one of the following strings: "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". The
IV is ignored in ECB mode as this mode does not require it. You will need to have the same IV (think: starting point) both at
encryption and decryption stages, otherwise your encryption will fail.
RETURN VALUES
Returns the size of the Initialization Vector (IV) in bytes. On error the function returns FALSE. If the IV is ignored in the specified
cipher/mode combination zero is returned.
EXAMPLES
Example #1
mcrypt_get_iv_size(3) Example
<?php
echo mcrypt_get_iv_size(MCRYPT_CAST_256, MCRYPT_MODE_CFB) . "
";
echo mcrypt_get_iv_size('des', 'ecb') . "
";
?>
SEE ALSO mcrypt_get_block_size(3), mcrypt_enc_get_iv_size(3), mcrypt_create_iv(3).
PHP Documentation Group MCRYPT_GET_IV_SIZE(3)