02-26-2010
Have you just converted the system to "trusted" using SAM ?
Can you log in as "root" on the real System Console or Web Console ?
What is in /etc/nsswitch.conf ?
Last edited by methyl; 02-26-2010 at 10:45 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
2. UNIX for Dummies Questions & Answers
hello,
i've found at work an old Sun Ultra 10 box, with SunOS 5.9 operating system.
I want to put into use this machine (particularly for training) .
offcourse , the root password is unknown , as this is a very old machine which was not in use for long time... :confused:
is there a way to... (1 Reply)
Discussion started by: paraaduma
1 Replies
3. AIX
Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies
4. Solaris
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies
5. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
6. Solaris
Hi All
Hope it's okay to post on this sub-forum, couldn't find a better place
I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies
7. Solaris
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
8. SuSE
I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner:
1) Remote root access is turned off in the sshd_config file.
2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies
9. Shell Programming and Scripting
I need to list users in /etc/passwd with root's GID or UID or /root as home directory
If we have these entries in /etc/passwd
root:x:0:0:root:/root:/bin/bash
rootgooduser1:x:100:100::/home/gooduser1:/bin/bash
baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies
LEARN ABOUT DEBIAN
poe::component::irc::plugin::console
POE::Component::IRC::Plugin::Console(3pm) User Contributed Perl Documentation POE::Component::IRC::Plugin::Console(3pm)
NAME
POE::Component::IRC::Plugin::Console - A PoCo-IRC plugin that provides a lightweight debugging and control console for your bot
SYNOPSIS
use POE qw(Component::IRC Component::IRC::Plugin::Console);
my $nickname = 'Flibble' . $$;
my $ircname = 'Flibble the Sailor Bot';
my $ircserver = 'irc.blahblahblah.irc';
my $port = 6667;
my $bindport = 6969;
my @channels = ( '#Blah', '#Foo', '#Bar' );
my $irc = POE::Component::IRC->spawn(
nick => $nickname,
server => $ircserver,
port => $port,
ircname => $ircname,
) or die "Oh noooo! $!";
POE::Session->create(
package_states => [
main => [ qw(_start irc_001 irc_console_service irc_console_connect
irc_console_authed irc_console_close irc_console_rw_fail) ],
],
);
$poe_kernel->run();
sub _start {
$irc->plugin_add( 'Console' => POE::Component::IRC::Plugin::Console->new(
bindport => $bindport,
password => 'opensesame'
);
$irc->yield( register => 'all' );
$irc->yield( connect => { } );
return;
}
sub irc_001 {
$irc->yield( join => $_ ) for @channels;
return;
}
sub irc_console_service {
my $getsockname = $_[ARG0];
return;
}
sub irc_console_connect {
my ($peeradr, $peerport, $wheel_id) = @_[ARG0 .. ARG2];
return;
}
sub irc_console_authed {
my $wheel_id = $_[ARG0];
return;
}
sub irc_console_close {
my $wheel_id = $_[ARG0];
return;
}
sub irc_console_rw_fail {
my ($peeradr, $peerport) = @_[ARG0, ARG1];
return;
}
DESCRIPTION
POE::Component::IRC::Plugin::Console is a POE::Component::IRC plugin that provides an interactive console running over the loopback
network. One connects to the listening socket using a telnet client (or equivalent), authenticate using the applicable password. Once
authed one will receive all events that are processed through the component. One may also issue all the documented component commands.
METHODS
"new"
Takes two arguments:
'password', the password to set for *all* console connections;
'bindport', specify a particular port to bind to, defaults to 0, ie. randomly allocated;
Returns a plugin object suitable for feeding to POE::Component::IRC's "plugin_add" method.
"getsockname"
Gives access to the underlying listener's "getsockname" method. See POE::Wheel::SocketFactory for details.
OUTPUT EVENTS
The plugin generates the following additional POE::Component::IRC events:
"irc_console_service"
Emitted when a listener is successfully spawned. "ARG0" is the result of "getsockname", see above for details.
"irc_console_connect"
Emitted when a client connects to the console. "ARG0" is the peeradr, "ARG1" is the peer port and "ARG2" is the wheel id of the connection.
"irc_console_authed"
Emitted when a client has successfully provided a valid password. "ARG0" is the wheel id of the connection.
"irc_console_close"
Emitted when a client terminates a connection. "ARG0" is the wheel id of the connection.
"irc_console_rw_fail"
Emitted when a POE::Wheel::ReadWrite could not be created on a socket. "ARG0" is the peer's address, "ARG1" is the peer's port.
AUTHOR
Chris 'BinGOs' Williams
SEE ALSO
POE::Component::IRC
POE::Wheel::SocketFactory
perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::Console(3pm)