Sponsored Content
Top Forums Shell Programming and Scripting Switch environments on a single unix server Post 302291506 by Taranjeet Singh on Wednesday 25th of February 2009 11:00:59 PM
Old 02-26-2009
Switch users on a single unix server

Hi ,

I tried using sudo but I am not authorised to use it.

Is there any other workaround fro my problem??

Please advice.

Any help may be very fruitful for me..

Thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix environments to fiddle around with

I'm a newbie and I was wondering if there were any public unix environments on the internet I could telnet to and fiddle around with?? (1 Reply)
Discussion started by: eloquent99
1 Replies

2. Answers to Frequently Asked Questions

Unix environments for MS Windows

We often get questions about how to provide a Unix environment under Windows. Mircosoft has several OS's that collectively are called Windows. Most users are running a recent Microsoft OS with an NT kernel, usually Windows XP. The solutions in this thread may not work on very old Microsoft... (0 Replies)
Discussion started by: Perderabo
0 Replies

3. Shell Programming and Scripting

Help needed in switch case handling in UNIX

Hi, In below code, i am expecting the output has Bye Bye But i am getting has Bye Hi Code: #!/usr/bin/bash var="Hi" cat txt.txt | while read var1 do next="Bye" case $var in Hi) (1 Reply)
Discussion started by: Balamani
1 Replies

4. Shell Programming and Scripting

Switch over from one UNIX system to another

Hi, I am new to UNIX shell script programming. I am using "putty" software to login remote UNIX system(123.com) . After login , i want to switch to another remote UNIX system (124.com) in same "putty" window. Could you Please let me know how to do and very thankful if anyone provide... (1 Reply)
Discussion started by: jagadish.g
1 Replies

5. Solaris

Find Brocade SAN switch’s IP in Sun server?

We have a Sun M5000 connecting to a Brocade SAN switch. I don't know the IP of the Brocade switch and don't want to use its serial port to get the info. How can I find the IP of the Brocade switch under Solaris 10? Snoop is not supported by Solaris multipathing. What other tools can I use to find... (6 Replies)
Discussion started by: aixlover
6 Replies

6. UNIX for Advanced & Expert Users

Help with server switch shell script

I need a script to change server automatically after performing some operations. The command for changing server is ssh username@servername . Then a prompt comes to enter a password. Then i need to perform some opertaions on the other server. How can i do this in a script? (1 Reply)
Discussion started by: pratikm23
1 Replies

7. UNIX for Advanced & Expert Users

How to Switch off a Unix machine abruptly

Hi Folks, My UNIX machine is placed geographically in another location. I have a remote access towards it. I want to abruptly switch off my unix machine through remote connection. Is it possible through any UNIX commands? I practically want to power off a PC , something like unplugging a power... (12 Replies)
Discussion started by: gjasper
12 Replies

8. Programming

Switch Technology from .NET to UNIX Shell

Hello friends, I started my career with VB.6.0 in 2007, In 2008 moved in VB.NET window application programming and then for web application programming with C#,ASP.NET with different databse like Oracle,MySQL and SQL Server.Currently I have 4.7 years experience in .NET application and worked... (8 Replies)
Discussion started by: Amit Verma
8 Replies

9. Linux

Switch Desktop Environments via Terminal

Hi All, Does anyone know if it's possible to switch desktop environments via the terminal? I'm writing a script to install Cinnamon on Ubuntu and I would then like to remove unity but at the moment I have to ask the user to log out, log in with cinnamon and then continue the script to remove... (1 Reply)
Discussion started by: maerlyngb
1 Replies
Aspect::Advice::Before(3pm)				User Contributed Perl Documentation			       Aspect::Advice::Before(3pm)

NAME
Aspect::Advice::Before - Execute code before a function is called SYNOPSIS
use Aspect; before { # Trace all calls to your module print STDERR "Called my function " . $_->sub_name . " "; # Shortcut calls to foo() to always be true if ( $_->short_name eq 'foo' ) { return $_->return_value(1); } # Add an extra flag to bar() but call as normal if ( $_->short_name eq 'bar' ) { $_->args( $_->args, 'flag' ); } } call qr/^ MyModule::w+ $/ DESCRIPTION
The "before" advice type is used to execute advice code prior to entry into a target function. It is implemented by Aspect::Advice::Before. As well as creating side effects that run before the main code, the "before" advice type is particularly useful for changing parameters or shortcutting calls to functions entirely and replacing the value they would normally return with a different value. Please note that the "highest" pointcut (Aspect::Pointcut::Highest) is incompatible with "before". Creating a "before" advice with a pointcut tree that contains a "highest" pointcut will result in an exception. If speed is important to your program then "before" is particular interesting as the "before" implementation is the only one that can take advantage of tail calls via Perl's "goto" function, where the rest of the advice types need the more costly Sub::Uplevel to keep caller() returning correctly. AUTHORS
Adam Kennedy <adamk@cpan.org> COPYRIGHT AND LICENSE
Copyright 2010 Adam Kennedy. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-02-01 Aspect::Advice::Before(3pm)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy