09-18-2009
I'm logged into the host using my personal credentials they su to a production username.
Here is the entire exchange:
~ $ su - produser
Enter your LAN Password:
<username produser entered>
Killed
~ $
If in another host under my personal credentials ssh into the other host is basically the same.
Here is the exchange
$ ssh produser@host
Enter your LAN Password:
<username produser entered>
Last login: Fri Sep 18 13:13:05 2009 from hostother
/bin/ksh: Not ownerConnection to host closed.
Last edited by twk; 09-18-2009 at 02:21 PM..
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error
jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c
gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I am using Perl program to do socket communication. My application has to use port 40001 this is a condition I can't change the port.
The execution of this script always gave an error 'Bind failure port already in use'
netstat execution gives below line:
udp 0 0 ... (5 Replies)
Discussion started by: zing_foru
5 Replies
3. UNIX for Advanced & Expert Users
aix 4.3
I get the following error from the errpt log
BD797922 0306170008 P H enclosure0 SUBSYSTEM FAILURE
I'm not clear on this kind of error. It never happened to me.
What do this errors mean, and how do I clear or solve them?
Any help is appreciated. (2 Replies)
Discussion started by: andwhat
2 Replies
4. Linux
Hi all
I used a dual boot operating system and it works fine for me. Now , i install a Ati radeon 9250 Agp card on my system and this results in boot failure of fedora 6. The graphics card is working fine with windows XP , i.e i have no compatibility issues.The system also refuses to boot when i... (2 Replies)
Discussion started by: joshighanshyam
2 Replies
5. UNIX for Advanced & Expert Users
hi,
i´ve been the last 48 hours with this issue, this is my last resort....
after clone another system to a new one with lvm, the last step is mkinitrd.
i execute it and it finish, but some errors are sent to stderrr.
/sbin/mkinitrd: line380: gawk: command not found
Traceback (most... (2 Replies)
Discussion started by: pabloli150
2 Replies
6. Shell Programming and Scripting
Hi ,
I need to write a IF condition to know if a SFTP file transfer is successful or not and send email if its failed.
`sftp username@servername <<comm1
cd /directory
put filename
comm1
bye`
I use above commands for my connections. So please help me to write a IF statement.
... (0 Replies)
Discussion started by: krishna87
0 Replies
7. Programming
I'm running a simple web server and seem to be having a problem canceling sessions.
When a new request is received I start a thread to handle that session's requests. Since I want to keep the pipe open for a long time - 10 minutes or maybe 2 hours - I also have a session manager that... (4 Replies)
Discussion started by: John S.
4 Replies
8. UNIX for Advanced & Expert Users
i am tryin to mount my shared folder on the server, I used a command suggested to me, but it also fails, any suggestions would be thankful
saman@saman-G41MT-ES2L:~$ sudo mount -t cifs //safe/tabatabaian_s -o username="myuser",password="mypass" /mnt/share
mount: wrong fs type, bad option, bad... (1 Reply)
Discussion started by: dr_mabuse
1 Replies
9. Red Hat
I am configuring Samba on one of my vmware.when i put smbclient -L local its showing error message : NT_STATUS_LOGON failure.I found that when i remove "Encrypted password entry from smb.conf" it works.
pls help me
---------- Post updated at 08:39 PM ---------- Previous update was at 07:11 PM... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
10. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
LEARN ABOUT DEBIAN
net::httpserver::session
Net::HTTPServer::Session(3pm) User Contributed Perl Documentation Net::HTTPServer::Session(3pm)
NAME
Net::HTTPServer::Session - HTTP server side client session
SYNOPSIS
Net::HTTPServer::Session handles server side client sessions
DESCRIPTION
Net::HTTPServer::Session provides a server side data store for client specific sessions. It uses a cookie stored on the browser to tell
the server which session to restore to the user. This is modelled after the PHP session concept. The session is valid for 4 hours from
the last time the cookie was sent.
EXAMPLES
sub pageHandler {
my $request = shift;
my $session = $request->Session();
my $response = $request->Response();
# Logout
$session->Destroy() if $request->Env("logout");
$response->Print("<html><head><title>Hi there</title></head><body>");
# If the user specified a username on the URL, then save it.
if ($request->Env("username"))
{
$session->Set("username",$request->Env("username"));
}
# If there is a saved username, then use it.
if ($session->Get("username"))
{
$response->Print("Hello, ",$session->Get("username"),"!");
}
else
{
$response->Print("Hello, stranger!");
}
$response->Print("</body></html>");
return $response;
}
The above would behave as follows:
http://server/page - Hello, stranger!
http://server/page?username=Bob - Hello, Bob!
http://server/page - Hello, Bob!
http://server/page?username=Fred - Hello, Fred!
http://server/page - Hello, Fred!
http://server/page?logout=1 - Hello, stranger!
http://server/page - Hello, stranger!
METHODS
Delete(var)
Delete the specified variable from the session.
Destroy()
Destroy the session. The server side data is deleted and the cookie will be expired.
Exists(var)
Returns if the specified variable exists in the sesion.
Get(var)
Return the value of the specified variable from the session if it exists, undef otherwise.
Set(var,value)
Store the specified value (scalar or reference to any Perl data structure) in the session.
AUTHOR
Ryan Eatmon
COPYRIGHT
Copyright (c) 2003-2005 Ryan Eatmon <reatmon@mail.com>. All rights reserved. This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-03 Net::HTTPServer::Session(3pm)