12-14-2003
Quote:
Originally posted by Perderabo
I can read posts at home, then go work (different system) and it seems to know what I read at home. So I doubt that it is done with cookies.
For most bulletin board scripts I have seen they maintain all such info in the database and simply store a session ID in the cookie.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi experts,
I would like to split the value of v and assign "arv-temp-view" to another variable d. I want to do it within shell script. My shell is "tcsh"
v="Setview: arv-temp-view"
split v and store
d=arv-temp-view
Please help
Thanks
Amit (2 Replies)
Discussion started by: amitrajvarma
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
Hi,
Always when I login to Unix, I need to give the following command to view the data properly;
export MAESTRO_OUTPUT_STYLE=LONG
The reason is that by default the settings export MAESTRO_OUTPUT_STYLE=SHORT
Please let me know how I could make LONG as the default and avoid giving the... (1 Reply)
Discussion started by: jmathew99
1 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Shell Programming and Scripting
Hi
I have a zipped file with extension .gz
It contains just one file which is zipped . What is the command to view the timestamp of that file. I Don't want to unzip the file (1 Reply)
Discussion started by: sidnow
1 Replies
7. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
8. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
SUX(1) User Commands SUX(1)
NAME
sux - wrapper around su which will transfer your X credentials
SYNOPSIS
sux [OPTS] [-] [[username] [ARGS]]
suxterm [OPTS] [-] [username]
DESCRIPTION
sux is a wrapper around the standard su command which will transfer your X credentials to the target user.
Note, suxterm forces ARGS to be 'xterm', and will try to launch an xterminal window.
QUICK CALLING
'sux user' and 'sux - user' behave just like su but transfer $DISPLAY and the X cookies.
OPTIONS
--untrusted
To generate an untrusted cookie, see 'xauth'.
--timout <period>
To generate a temporary cookie for <period> seconds, see 'xauth'.
-m,-p --preserve-environment
In this case sux will override XAUTHORITY to the so that xauth does not try to use the original user's .Xauthority file (which it
obviously could not do anyway due to access rights).
--no-cookies
Just transfer DISPLAY, not the cookies. You could do this if you have already transfered the cookies in a previous invocation of
sux.
--copy-cookies
Copy the cookies using xauth. This is the default method (and only method most of the time).
--use-xauthority
Instead of transfering the cookies, set the XAUTHORITY environment variable to access the original .Xauthority file. There's a cou-
ple caveats with this method. First, due to the access right issues it's only usable by root. But even then it may not work if the
.Xauthority file is accessed via NFS, e.g. if the home directories are on NFS (note that this is quite dangerous already since your
cookies will travel unencrypted over the network). Then, if root runs commands like xauth add/remove, the .Xauthority's ownership
will belong to him. This will leave the original user in trouble as he will no longer be able to access X! So only use this option
with great care. Finally, this method does not work if you also want to use '--untrusted' or '--timeout'.
--display
specify which display to use (in case of having more than one available).
AUTHOR
Originally written by Francois Gouget <fgouget@free.fr> Manpage written by Millis Miller <millis@faztek.org>
REPORTING BUGS
Report bugs to <millis@faztek.org>.
COPYRIGHT
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
su (1), xauth (1)
sux 1.0 Sept 2003 SUX(1)