General :: Send Message To Other User In Shell?
Jun 22, 2009how can i send message to other user in shelli try use write before but it say permission deny from user
View 2 Replieshow can i send message to other user in shelli try use write before but it say permission deny from user
View 2 RepliesIs possible to send a message (popup window or something) to local user logged into X (xdm, fluxbox) from console ? For example: user1 is logged and using X/fluxbox, user2 logging into the same box by ssh to console. Now - what user2 have to do to send message to user1 ?
View 1 Replies View RelatedLet's say there are machines A and B. user1 is on machine A, and has access to machine B through ssh (also as user1). user2 is sitting at machine B (let's say in Gnome session). And user1 has sudo access on machine B. How can user1 send a message to user2 (so it should appear on user2's desktop) with notify-send? code...
This doesn't work. I get in result:
(notify-send:28676): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
What else should be done to make it work? (trying it on current Debian testing).
I am currently working to develop a perl script for irssi that will capture data from irc channel hold it in memory as variable and send it to a shell. Does anyone know a good irssi irc scripting guide? something that will include $botname, $msg, $nick, $channel etc scripting explanation. Is it possible to send a run program command to shell thats located in my /home/user/myapp using ./myapp from irssi? i am using bash. I've only just started, so i dont have any code written yet,
View 2 Replies View RelatedMACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
View 2 Replies View RelatedHi I am running a fedora 10 desktop. when i send an email using evolution the message was not sent but returns a error message:"Error while performing operation.DATA command failedError: 550 Viagra SPAM - Hi in Subject" and the message did not have an attachment just plain words. what might have gone wrong for i have been using this for sometime without a problem. or what security measures should be in place to remove this viagra spamAm I infected by virus on this fedora, all my updates are up to date.
View 1 Replies View Relatedi am new to using linux and am doing an application to send sms using the kannel? my problem is that i dont know where to get my url for the sendsms?in the mean time i have tried:-http://192.168.9.93:13013/cgi-bin/se...assword=foobar
View 1 Replies View RelatedHow to send message to all users wishing them "Good Morning"
View 2 Replies View RelatedHow to send message via terminal in windows or linux?
View 4 Replies View RelatedHow to send color message to all users with wall.
View 1 Replies View RelatedI am able to reieve message but not able to send message on evolution from my mail client. evolution gives the error as: PHP Code: Cannot get message 1285571362.20345.mail312.opentransfer.com,S=1928: Input/output error
View 1 Replies View RelatedMy setup is local install so I don't expect it to receive emails from the internet.However I do expect it to be able send messages to the internet, but it doesn't seem like it. I have tried setting up on FreeBSD before and it was able to do so but I wasn't involved in the setting of the machine though. I was just tasked to setup Horde
View 3 Replies View RelatedI am working on RHEL4 ES server. In our system Talk is not activated(i did not find it in services). To send a mail thru web based mail it is time taking process. I want to send a message(or a mail) to other server. How can I do this? Example: my server IP is 10.xx.xx.xx and the other is 10.xx.xx.xx
View 1 Replies View RelatedI am sending message from linux to windows system as follows echo "test"|smbclient -M <IP Add>But I am getting "session request failed" message . How can I solve it? <Ip Add> in network and reachable.
View 1 Replies View RelatedI've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?
View 1 Replies View RelatedI am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
I have 2 computers with linux, How can i send with ftp files from computer1 to computer2 them(shell command)? Steps that i think should be done (miss shell commands): find inner ip of computer1 open the ftp port (21) of computer1 (make computer1 ftp server) send file from computer2 to computer1 with shell command
View 2 Replies View RelatedRegarding this task, I am able to print colored output in my putty sessions using tput or ASCI codes but whenever I tried to send that output through mail command to my outlook maillox, It always goes without colored. I need to produce those coloured output of the scripts as it is in mail.
View 1 Replies View Relatedi want to write the script which check the disk space of linux server and send me the disk space details and mail me on my id.
View 2 Replies View RelatedI have two users; user1 and user2. I have a bash script run by user1, that needs to run a command on a screen terminal started by user2.
View 1 Replies View RelatedI am using Qmail mailing system. Now I want to block the outlook users to send mail(SMTP). I think it can be done through qmail smtp relay option.Is it the right way to block SMTP for outlook users??
View 3 Replies View RelatedI scan a document with root pressing the scanner button. I would like to send an email using my gmail account. OK. nothing difficult with that... mbsmtp + mutt for sending trhough the sh script.
1-root is to be avoided at max to do some internet duties, due to security. Apt-get is good, but ok surfing or email sending shall be avoided for higher security.
2- sudo or su running mutt through this way, ok, using an existing user. OK, possible and simple, but not comfortable since you have to use an account of an user existing (create a new user for scanner and email?? - no, come on, we have linux and can maybe find a solution)
how to send an Email from root console using an non created USER?
I notice that when people message me in a channel the message itself show up in the channel, but I also get notified from pidgin that I got a message. Now my question is, how do I send a message to a specific user so he gets notified like I do, but still the message show up in the channel. I know It's not Linux specific question, but IRC is in Linux culture anyway, and I been googling but for no solution at the end.
View 3 Replies View RelatedI have ASCII files to parse that 48 hours old or more ; I can identify them like so
Code:
find . -name "FILE*TXT" -mtime +1 -exec ls -ltas '{}' ';'
Some files have a list of hardware errors (we test electronic components), some have none. If the file name has no errors, I still want to display a message like so
Code:
grep ^err R*VER && echo "No error"
FILEA.TXT:err->USB3910err
FILED.TXT:err No Error
This grep statement works but it seemingly overrides the find() statement above if I run both at the same time... How can I combine the two statements to create a report that lists the filename and error(s) like so
Code:
FILEA.TXT Button3320err
FILEB.TXT USB3235err
FILEC.TXT IR Remote2436err
FILED.TXT No error
Is it possible to return "No error" with the file name without error?
Im want to know the command to add a user with no shell access so they cannot log onto the system, but there a user on there so for example they can be part of the email server.
View 2 Replies View RelatedI have a program I want to run as it's own user. But I don't want anyone to be able to login as that user, so I created a user like: -
useradd -s /sbin/nologin someuser
How do I run a specific program owned by this user as this user? I can't su to this user as it doesn't have a shell.
I have a server with a static IP that I use as a sendmail server. The problem is that port 25 is exposed. As a result, anybody can login to the SMTP server and send mail from my domain as a user that does not exist as well as email from other non-existant domains. I'm sure there are sendmail options that I can enable to do some checks, like if the user exists on that server or if the domain is the same on the server, etc. I was wondering if you guys can mention a few that I can add to my sendmail.mc file?
I have thought about auth login, the problem is if auth login is on my public port then I won't be able to receive email from gmail because it would be unauthenticated. Also, I only have 1 mail server. I know the ideal solution is to have 2 mail servers. One for outgoing mail/internal mail server where you can enable auth login and the other for incoming mail which just acts as the relay to the internal mail server. That way spammers can't login to send mail out. That's another question I had, how do I configure sendmail to only send email out/in?
Anyhow, so I have to make do with 1 mail server for now. So I decided to add a few rules on iptables. I grabbed the IP range that gmail uses when I receive mail from then and added it to my iptables with the following command.
[Code]....
Can advise if I want to have a alert message when a specific user is login to the system , what can I do ? that mean if a specific is login to system then send me a alert message ( by any way ) to inform me the user is login , what is the method ?
View 7 Replies View RelatedI have a big problem here.I have 2 shell windows, ne is a root shell and the other with some user account.If I change the root password in the root shell window aspasswd rootI can change it, but when I go into the user shell window, and I do "su" I cannot switch to root. Always "incorrect password".Same happen if I try to do "su <some-other-user>"This happen ONLY in shell windowws. If I try, for example, to run some administration service, like system-config-service, the root password is accepted in the prompting window.
View 6 Replies View RelatedI have been trying to send some messages from my Debian GNU/Linux to my Canaima GNU/Linux, i have tried with write: write user@host
But it says user is not logged in, apparently the write daemon have to be running in both machines to do this.
And i wanted to use talk, but i should install it in both machines ¿?
The thing is that i have like 10 machines i wanted to send messages to, but i cant find an easy way to do this.
Is there any other way i am missing? or it has to be the "hard" way