I've got problems with X server authentication using `xauth'. The problem is, that I have my local computer running NetBSD 5.1 and a remote computer in LAN which is running Debian GNU Linux. During the login to my NetBSD computer `xdm' generates a magic cookie for my DISPLAY. Then I transfer this cookie via `ssh' to the Debian computer:
After that when making `xauth list', I can see identical magic cookies on both computers. But when I'm trying to start an `xterm' on the Debian computer I only get the following error message:
Could you please make any further suggestions how to solve this problem.
I just built my first Solaris 8 machine. I start x using this command (assume I'm in the correct directory):
./startx
After I run this command, I receive this extremely frustrating message:
/startx: XAUTHORITY=//.Xauthority: is not an identifier
Can someone tell me what I am doing... (4 Replies)
I am building an installable package (.pkg) with PackageMaker 1.1.11 (that's the one that comes with Panther).
The package is for installing things both to /Applications and to some folders in /Library (/Library/StartupItems and a new folder that I'm putting in /Library).
I do (obviously) not... (4 Replies)
I have ssh setup on 2 boxes ( aix / linux ).
building a batchjob i have made a plaintext key.
I force the command in the authorized_keys file
running from aix -> linux
ssh -i ~/.ssh/batchkey user@remote works perfect
but from linux -> aix
it get the following
debug1:... (1 Reply)
Hi,
I created a user, however, l want this user to be able to configure some services in REd Hat 8.0 such changing of Network address which is exclusive to root super user. Unlike in Openserver or Unixware were you can assign authorization and privileges to user. I have not being able to figure... (5 Replies)
Greetings,
I am writing a C socket application that needs NTLM authorization before it can post HTTP requests, and
I am having trouble with NTLM authorization messages.
:b: I've found the following urls extremely valuable for creating message functions:
Davenport WebDAV-SMB Gateway... (1 Reply)
I see a lot of thread on LDAP Authentication but I want to enable LDAP Authentication with Authorization. Meaning, removing the user ID's and groups from the local servers and move them to an LDAP server. When a user logs in (via LDAP) they will be given their group memberships and access to the... (3 Replies)
Good day to anyone. I need your help.
I want to create a centralization server for authorization my users via SSH connections. My manager suggested me a RADIUS + PAM, but frankly speaking I read a lot information about these and understood one thing - RADIUS could work only with password... (0 Replies)
The company I work for is trying to implement Sudoers.LDAP to centralize their sudoers infrastructure so the access management team and compliance teams don't have to run ragged over all of our servers. The AD team decided it would be better to set up a separate LDAP server rather than put a new... (1 Reply)
Discussion started by: Wolvendeer
1 Replies
LEARN ABOUT CENTOS
mcookie
MCOOKIE(1) User Commands MCOOKIE(1)NAME
mcookie - generate magic cookies for xauth
SYNOPSIS
mcookie [options]
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, and optionally the contents of an input file. and several bytes of information from the first
of the following devices which is present: /dev/random, /dev/urandom, files in /proc, /dev/audio.
OPTIONS -f, --file=FILE
Use file as a macig cookie seed. When file is defined as `-' character input is read from stdin.
-v, --verbose
Explain what is being done.
-V, --version
Output version information and exit.
-h, --help
Display this help and exit.
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/.
util-linux June 2011 MCOOKIE(1)