08-13-2010
Automatic login at startup
Hi,
how can I set my linux server that it logs in the main user at startup?
I would like to be able to make a restart remotely and be able to connect to the server again afterwards.
The problem is that the server waits for a login and than connects to the network. So at the beginning at startup there is no network, I can't connect remotely then.
Thanks!
Last edited by borobudur; 08-13-2010 at 12:23 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have asked by our security team to implement an automatic time out for user logins after a specified time interval. I have never heard of this feature in Unix before.
Does anyone know of a way to accomplish this for HP-UX 11i? (2 Replies)
Discussion started by: keelba
2 Replies
2. Shell Programming and Scripting
Hi,
I'm a beginner in unix.As a part of my script i need to remote logon using ssh.
my script run as being asked for password and logons only after the user enters the password correctly. But my script stops executing after that as I login to a different server(different shell if i'm right).... (3 Replies)
Discussion started by: dayanand
3 Replies
3. UNIX for Advanced & Expert Users
Hello all,
I need a script that can run an sftp session into a remote server, and retreive a file. Does anyone know how to pass in the user/password details in a script? I seem to have forgotten (5 Replies)
Discussion started by: Khoomfire
5 Replies
4. Solaris
Hi, Boss
I have a question....
BackGround: i have a shell name xxxLineInput.x
the useage is: xxxLineInput.x -Txxx -Uxxx -Pxxx
when i use the command line..can run normal.
Target: i want to set automatic login, the mean is when i login the as the specifical... (0 Replies)
Discussion started by: surainbow
0 Replies
5. UNIX for Dummies Questions & Answers
I need a script that will let me connect to my hpux server with just a click of the icon without type my username and password. (5 Replies)
Discussion started by: tree740
5 Replies
6. Slackware
I know how to set up KDM or GDM to do automatic login, but is there a way to do it without GDM or KDM or X at all so when I start the machine I am immediately taken to a waiting command prompt? Thanks (5 Replies)
Discussion started by: raidzero
5 Replies
7. Solaris
hi friends,
any idea how do we configure a automatic startup of SSH services in Solaris boot ? (5 Replies)
Discussion started by: Exposure
5 Replies
8. Solaris
On Solaris 11 is it possible to bypass the userid/password requirement to automatically login to the desktop ?
I'm the sole user and it is really not necessary to secure the system.
I have searched this forum and have not found a relevant post. (2 Replies)
Discussion started by: stansaraczewski
2 Replies
9. Shell Programming and Scripting
Dear Experts ,
I want to stop and Start tomcat at the time of shutdown and startup of our server . I was trying to stop tomcat with following command
# su - dm -c "/export/home/Finder/FinderWeb/jakarta-tomcat-3.3.1a/bin/shutdown.sh"
but i am getting following error. Please suggest .... (1 Reply)
Discussion started by: Amit.saini333
1 Replies
10. Web Development
Hi ,
I am using windows XP and IE8
I have my credentials stored for a website in internet explorer.
I want to implement below scenario.
I have entered both username/password for a website and left IE explorer open and locked my computer
I want the computer to login in that website... (1 Reply)
Discussion started by: Jcpratap
1 Replies
LEARN ABOUT DEBIAN
apache2::porting
libapache2-mod-perl2-2.0.7::docs::api::Apache2::porting(User Contributed Perl Documentlibapache2-mod-perl2-2.0.7::docs::api::Apache2::porting(3pm)
NAME
Apache2::porting -- a helper module for mod_perl 1.0 to mod_perl 2.0 porting
Synopsis
# either add at the very beginning of startup.pl
use Apache2::porting;
# or httpd.conf
PerlModule Apache2::porting
# now issue requests and look at the error_log file for hints
Description
"Apache2::porting" helps to port mod_perl 1.0 code to run under mod_perl 2.0. It doesn't provide any back-compatibility functionality,
however it knows to trap methods calls that are no longer in the mod_perl 2.0 API and tell what should be used instead if at all. If you
attempts to use mod_perl 2.0 methods without first loading the modules that contain them, it will tell you which modules you need to load.
Finally if your code tries to load modules that no longer exist in mod_perl 2.0 it'll also tell you what are the modules that should be
used instead.
"Apache2::porting" communicates with users via the error_log file. Everytime it traps a problem, it logs the solution (if it finds one) to
the error log file. If you use this module coupled with "Apache2::Reload" you will be able to port your applications quickly without
needing to restart the server on every modification.
It starts to work only when child process start and doesn't work for the code that gets loaded at the server startup. This limitation is
explained in the Culprits section.
It relies heavily on "ModPerl::MethodLookup". which can also be used manually to lookup things.
Culprits
"Apache2::porting" uses the "UNIVERSAL::AUTOLOAD" function to provide its functionality. However it seems to be impossible to create
"UNIVERSAL::AUTOLOAD" at the server startup, Apache segfaults on restart. Therefore it performs the setting of "UNIVERSAL::AUTOLOAD" only
during the child_init phase, when child processes start. As a result it can't help you with things that get preloaded at the server
startup.
If you know how to resolve this problem, please let us know. To reproduce the problem try to use an earlier phase, e.g.
"PerlPostConfigHandler":
Apache2::ServerUtil->server->push_handlers(PerlPostConfigHandler => &porting_autoload);
META: Though there is a better solution at work, which assigns AUTOLOAD for each class separately, instead of using UNIVERSAL. See the
discussion on the dev list (hint: search the archive for EazyLife)
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.14.2 2011-02-08 libapache2-mod-perl2-2.0.7::docs::api::Apache2::porting(3pm)