Ubuntu :: Sending Message To Specific User?
Apr 8, 2011Is it possible to send a message to a specific user of group with "wall" command? Seems that this command will broadcast the message.
View 3 RepliesIs it possible to send a message to a specific user of group with "wall" command? Seems that this command will broadcast the message.
View 3 RepliesCan 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 was trying to use Message Queues for sending message from aninserted kernel module to user space. The function sys_msgsnd failedgiving the obvious error -EFAULT.However, I was able to send the message from kernel to user space when I had made the same driver part of kernel (and not inserting it).How is that possible?I am using linux.2.6.19.x (arch=ppc)I now use Netlink socket to communicate from kernel to user, but the aboveproblem seemed strange to me.
View 2 Replies View RelatedHow do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies View Relatedmy system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies View RelatedIn windows we used to send a pop up message to another computer that is connected in home network using the following command,
Code:
Netsend [username] "message"
what is the equivalent command in ubuntu..?
is it possible to send text message alerts instead of emails to a phone from ubuntu?...
View 2 Replies View RelatedJust upgraded to 10.10, evolution worked the first time but has not worked since. Have tried re installation but no joy. Starting for terminal shows:-
(evolution:16876): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
It was working in 10.04.
I am trying to design an application which violates the DHCP. Specifically the difficulty in writing this application is physically sending the raw packet. I need some documentation on either a library that supports this or where to look for support for raw packet creation. I am not trying to create a raw datagram, that doesn't meet my needs because a raw datagram is still at layer 3 I need to craft a raw layer 2 PDU.
Specifically I want to
Send a very specific DHCPDISCOVER
Receive a DHCPOFFER
and pull apart the offer while never sending a DHCPREQUEST.
Specifically I am pulling apart various options that are sent in the DHCPOFFER. I have a raw DHCPDISCOVER already crafted and the formatted struct sockaddr_ll where I fault is I can't send the damn thing. Getting the file descriptor after calling socket is okay but what now? How would I write to that file descriptor and have it transmit?
Code:
int connfd;
struct sockaddr_ll bcast;
bcast.sll_family = PF_PACKET;
...
connfd = socket(PF_PACKET,SOCK_RAW,0);
//now what
Since upgrading to 11.04 yesterday, nauilus has been acting strangely. It takes about 30 seconds for a right click on the desktop to respond, whereas before it would've taken 1 or 2. Also, when trying to open a directory, say, the Home direcotry accessible from the launcher,it takes about a minute to open, which is odd,because all of my other applications (Chrome, Banshee etc) ares all running smoothly. And when the direcotry windowe does open, within 10 sconds it will turn grey and prompt me to force quit. When i try to open nautilus from a terminal, it comes back with the message
Code:
(nautilus:3508): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
I am seeing log messages that I don't understand. If I run tail -f /var/log/messages, some times I will see this this sort of repeating pattern. I don't know if I have cut at the start of the sequence or not. Incidentally, this is a normaly well-behaved client/host.
[Code].....
Why is the client repeatedly sending the (1/4) message and then timing out?
I have set up SSH and redirected the ssh server to listen on another port other than 22 for a bit of added security.
Now in hosts.deny I have:
ALL : ALL
In hosts.allow I have:
SSH : ip_address_of_client
I can no longer connect. I get the message: ssh_exchange_identification: Connection closed by remote host.
When I change hosts.allow to read:
ALL : ip_address_of_client
I can successfully connect the server.
However, I only want to allow SSH access in hosts.allow. What is the correct syntax?
I have tried and failed with each one of these:
SSH : ip_address:port_number
SSH2 : ipaddress
sshfwd-portnumber : ip_address_of_client
Did anyone heard about or can suggest mabe a postfix serverside solution in order to insert a counter number into the subject line before the message is sent?
I mean something similar with helpdesk tickets, because I would like to create the possibility for the senders, to make further refference about a speciffic message using it's counter number provided by postfix server.
Is there some way to grab a single message from an IMAP server with a shell script? I'd prefer to avoid "scraping" an IMAP protocol session and instead use something like wget ... with some clever options.
The second half of this question involves specification of the message that I want to retrieve. Learning a specific "message number" is messy. I will likely know the TO: and maybe the FROM: details. I might also know the SUBJECT: I'm eager for your suggestions here as well.
how i can resend a message to specific mail account and not delete it when qtrap is enabled in a domain? If qtrap find a word in a mail, delete the mail but i want resend to
another mail address?
OS: centos 5.4
qmailinstall: qmailtoaster.
I want few users to have access for sending mails in sendmail and others not.
View 3 Replies View RelatedWhen I send mail via Evoultion it does seem to send ok but still the following error message comes up: Error while sending message. Failed to append to : Unknown error Appending to local 'Sent' folder instead. Not sure what's up with that but thought I would mention it.
View 3 Replies View RelatedI'm working on a kiosk-type system. What it needs to do is boot, auto login as a specific user, display only the Gnome desktop (no icons, etc), and auto start an application.
Is this possible (I'm sure it is)? If so, can this be scripted, i.e. without having to use graphical tools like Sabayon.
we are in a place where we have to give an account (with sudo access...) to a user we don't completely trust (I am reminded of this comic). What we need to set up is some way of logging pretty much everything that this user does, especially what he does as root (via sudo or sudo -s). Now, I know that anything we do can easily be undone by another user with root access, but we feel that if he does disable logging we can use this as a really good excuse to revoke his access. So, does anyone know what logging stuff I'd have to set up to completely monitor one user (it is ok if we are monitoring everyone, but we'd prefer to watch one user if possible)?
View 9 Replies View RelatedI just set up my own server and basically my folder is on say /media/disk1/ and my girlfriends is on /media/patato/ is there a way i can set it so that if i log in it goes to my folder and if she does it goes to hers.... I've currently got it set up as /media/ that it goes to but i cant get it to change it for each user (we can also browse each others drive and we dont want that, we want to be tied into /media/ourdirectory and all of its subdirectories) problem is that it is running on a computer that use to be functional (same install because I cant find my disk drive) so it cant use home folders....
View 1 Replies View RelatedHere is what I want to do: have procmail get my mail from all of the different mail servers, and then put them in my inbox folder (I'm able to do all of this), but also have my emails sorted by domain into subfolders.So for example, procmail downloads my email, puts it into the gmail folder which is a subfolder of my inbox folder.I know how to get all of my email into the inbox folder - but not into a specific subfolder.
View 1 Replies View RelatedI want to know, how to allow to a specific user to run an application (for example Virtual Machine Manager) without entering a password? I have tried to add this user into appropriate groups, but it didn't helped.
View 7 Replies View RelatedI have a very peculiar issue - I can't log in to KDE as one particular user (andrew, which is my regular account) though all other users including root, mythtv & other family members can log in without any problem. When I try to login as andrew the X server appears to crash as the screen goes blank and I have to press Ctrl+Alt+BkSp to get back to the KDM login screen. The proximate cause seems to have been updating KDE to 4.4.5 using yum - I did this logged in as andrew in a terminal session using su - root, and the black screen problem arose next time I tried to log in.
I can log in OK as andrew using a different desktop manager e.g. Sugar. I am using radeonhd graphics driver; if I change to "vesa" in xorg.conf I can log in OK. If I change the home directory for andrew to that of another test user and change the file ownerships, I can log in OK. Therefore the problem must lie in a config file(s) somewhere in the andrew home directory tree, which is specific to KDE and also radeonhd. I have checked in all the obvious (and unobvious) places but can't find anything. There are no relevant SELinux errors or entries in syslog or Xorg.0.log. The .xsession-errors file from a failed login attempt is here [URL] it isn't significantly different from a normal one, and as the entries are not time-stamped I am not sure which ones arise during the login and which when I restart the X server. I am running F13 (kernel 2.6.33.6-147.fc13.x86_64) without any other significant issues.
Because I keep a lot of data on a Netgear ReadyNAS which can be presented as a NFS server, I would like to have the default CentOS user have a uid and gid that match those for the user that owns the main NFS share. That way I can treat it as if it were a directory that I owned on the local machine. I'm probably going to install CentOS 5.3 over again to get a totally clean system. What is the neatest way to ensure that the default user has the desired uid and gid? Or is there a better way to work with the NAS? (Right now I'm running it with CIFS shares, but these are quirky and do not behave quite like a local file system, I'm hoping that NFS would be more consistent, but previously attempts to run NFS were hampered by different uid and gid values).
View 1 Replies View RelatedI'd like to limit login attempts for specific user. I've found information in manpages: [URL]but I'm not sure if this '@' is purposly there, so would be that correct?
Code:
aparaho - maxlogins 4
or
Code:
@aparaho - maxlogins 4
Maybe '@' is a group syntax? I'm confused.
What happens after 4 failed loggins? Is it enough to restart system to get another login attempts?
Are there any other values that it is reasonable to limit for safety reasons?
I have installed gpg (GNU privacy guard) Now I have done this in root and therefore it was installed in the folder /usr/bin/gpg Now my other non-root user accounts have all functionality except main ones (ls, mkdir etc...) disabled. I require more functionality on this websever, especially to enable the use of the binary gpg How do I enable these commands for that specific user? I have tried to figure this out for so long,
View 9 Replies View RelatedI have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.
View 3 Replies View RelatedI am looking for a way to deny telnet and ssh to one specific user. So far I've only tested with telnet and my attempts have been limited to various hosts.deny entries:
in.telnetd : user@server
in.telnetd : user@server.domain.com
in.telnetd : user@IP_address
in.telnetd : user@.domain.com
None of these work. The only thing I've found that does work is:in.telnetd : IP_addressBut this is only a semi-viable solution because we will soon have multiple logins for the one username from different servers and sub-nets. Ideally, I'd like to be able to deny telnet and ssh access to this username regardless of where the login originates. I suppose it would be possible to specify each server IP, but that'll be a bear to maintain
i have created a file (by root user) called test.txt. Then i created a user bob. Now i want only bob to read/write/execute this file and no other user shall have any permission on it.
View 3 Replies View RelatedSo right now VNC is starting a session using :1. When I connect to that session, the terminal is logged in as root. I'd like for the terminal to be logged in as a different user as some of my end users are going to be using this and don't require such privileges. I found that I can "su" to a different user and start a new VNC daemon on :2 and when I connect to that session, the terminal is logged in as that user. What I want to do is get that to run at boot-up.
View 4 Replies View Related