04-13-2010
Thanks for interesting suggestion. Unfortunately this seems not to be cause of my problems:
ls -l /dev | grep random
crw-r--r-- 1 root system 37, 0 Apr 09 10:14 random
Ssh sort of works -- i can run commands remotely, but i can not get interactive shell. Maybe it is somehow related to pseudo-terminal devices?
9 More Discussions You Might Find Interesting
1. AIX
I'm stuck - when I boot the machine and hit 5 on the keyboard, all I get is an SP login. Can someone give me some tips on how to get to the install via the serial port? (2 Replies)
Discussion started by: tb0ne
2 Replies
2. AIX
Hi ,
I am having problem,users are not able to login through ssh or telnet.Only we can login as root user in console.
Restarted telnet and sshd ,no luck. Any ideas.
AIX -- 5.2 ML 07
Thanks,
MNK (1 Reply)
Discussion started by: mnkfre
1 Replies
3. HP-UX
I have a HP Visualize C200 running hpux that I am trying to boot into using a null modem through com1 from my Sun Ultra 10. I get all the way to the login prompt and then it becomes innactive and wont let me access the machine anymore. Any ideas? (2 Replies)
Discussion started by: trajek
2 Replies
4. Programming
why is it that:
#include <sys/stat.h>
#include <stdio.h>
int main(int argc, char **argv)
{
mkdir("testDir", S_IRUSR|S_IWUSR|S_IXUSR);
return 0;
}
works from the console when i type ./a.out but when clicked on from a window manager, it does diddly squat??? Interested to... (8 Replies)
Discussion started by: jasonkb
8 Replies
5. Solaris
when I type start /SP/console... the console shows up but i cannot type anything over there. I do not understand what might be the reason for that.
-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type ESC (
I pressed enter many... (8 Replies)
Discussion started by: bharu_sri
8 Replies
6. Solaris
I am running solaris 8 on a sparcs box. The system is connected to a lightwave console server. I have a script that hangs when sending output to '/dev/console'. Any ideas?
-V (2 Replies)
Discussion started by: vada010
2 Replies
7. UNIX for Dummies Questions & Answers
1)
ssh a@b
echo $USER it display the correct value as a (even though i have not defined it in .profile)
2)
remsh b -l a
echo $USER it does not display the value as a (variable is not set
any idea why $USER variable is not initialized when i login via remsh or rlogin but shows the... (10 Replies)
Discussion started by: reldb
10 Replies
8. UNIX for Dummies Questions & Answers
Hi Gurus,
Can some one explain me the difference between a IP console and a serial console. (1 Reply)
Discussion started by: rama krishna
1 Replies
9. Solaris
i am running solaris 10 in my vmware workstation. How to setup a console for my solaris box. in Vmware i could see a serial port option. can some one help me on how i can setup a console . (0 Replies)
Discussion started by: chidori
0 Replies
LEARN ABOUT LINUX
mcookie
MCOOKIE(1) Linux Programmer's Manual MCOOKIE(1)
NAME
mcookie - generate magic cookies for xauth
SYNOPSIS
mcookie [-v] [-f filename]
DESCRIPTION
mcookie generates a 128-bit random hexadecimal number for use with the X authority system. Typical usage:
xauth add :0 . `mcookie`
The "random" number generated is actually the output of the MD5 message digest fed with various pieces of random information: the current
time, the process id, the parent process id, the contents of an input file (if -f is specified), and several bytes of information from the
first of the following devices which is present: /dev/random, /dev/urandom, files in /proc, /dev/audio.
BUGS
The entropy in the generated 128-bit is probably quite small (and, therefore, vulnerable to attack) unless a non-pseudorandom number gener-
ator is used (e.g., /dev/random under Linux).
It is assumed that none of the devices opened will block.
FILES
/dev/random
/dev/urandom
/dev/audio
/proc/stat
/proc/loadavg
SEE ALSO
X(1), xauth(1), md5sum(1)
AVAILABILITY
The mcookie command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
25 September 1995 MCOOKIE(1)