08-21-2008
Instead of predicting things, its better if you provide what type of restriction are you looking for ?
- nilesh
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Gurus,
Tried searching for something similiar in this forum but not really what i want.
This is my case:
I have about 20 users running on sun workstation. We have done a upgrade recently and right now it seems that the users can access to terminal and console which they are not suppose... (12 Replies)
Discussion started by: lweegp
12 Replies
2. UNIX for Advanced & Expert Users
Hi
I have requirement to create 3 new users on my server but to restrict their access to a set of particular folders.
/export/home/kapil/shared,
/export/home/kapil/shared/Folder1
/export/home/kapil/shared/Folder2
These folders should be accessible to all the 3 users and to me too.... (1 Reply)
Discussion started by: kapilk
1 Replies
3. Red Hat
Hi,
I had installed vsftp in rhel5 and i want to restrict all the local users from accessing the ftp.
i want to allow specific users to access the ftp server.
Request you to please help.
Thanks & regards
Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies
4. Solaris
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
How can we restrict a particular user access to a particular shell in solaris 10.
Thanks in Advance. (5 Replies)
Discussion started by: rama krishna
5 Replies
6. Red Hat
Hi there
I have an application user on my system that wants accesses to these file systems as such:
rwx:
/SAPO
/SAPS12
/R3_888
/R3_888B
/R3_888F
/R3_888R
r:
/usr/sap
these are the existing FS permissions:ownerships:
# ls -ld /SAPO (9 Replies)
Discussion started by: hedkandi
9 Replies
7. Ubuntu
Linux ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Hi Folks,
Please help me. I am bit struck here.
Here is the OS info.
Linux ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I have a... (17 Replies)
Discussion started by: explorer007
17 Replies
8. Solaris
I'm using Solaris 10. I want to restrict users from executing this dangerous command.
rm -rf *
But they should be able to perform the below actions:
rm -rf *.*
rm -rf filename
rm -rf directory
Is it possible? If yes then pls let me know how to do it? (7 Replies)
Discussion started by: Arun_Linux
7 Replies
9. UNIX for Dummies Questions & Answers
I'm trying to use squid to restrict elinks' access to certain websites(only http traffic).
I have tried some configs in squid.conf but no luck. Hope someone has a bit of time to explain me how can you make these config's :)
---------- Post updated at 05:40 PM ---------- Previous update was at... (1 Reply)
Discussion started by: Birnbacher
1 Replies
10. Solaris
Dear friends,
:)
I create new user
useradd -g other -d /export/home/sltftp -m -s /bin/bash -c "SLT user account for TMA ftp backup" sltftp
now i need do restrict thees
chmod
delete
overwrite
rename
from this user:(for all the files in the server ,sltftp user can only able to download... (4 Replies)
Discussion started by: darakas
4 Replies
LEARN ABOUT OSX
tk_restrictevents
Tk_RestrictEvents(3) Tk Library Procedures Tk_RestrictEvents(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_RestrictEvents - filter and selectively delay X events
SYNOPSIS
#include <tk.h>
Tk_RestrictProc *
Tk_RestrictEvents(proc, clientData, prevClientDataPtr)
ARGUMENTS
Tk_RestrictProc *proc (in) Predicate procedure to call to filter incoming X events. NULL means do not restrict
events at all.
ClientData clientData (in) Arbitrary argument to pass to proc.
ClientData *prevClientDataPtr (out) Pointer to place to save argument to previous restrict procedure.
_________________________________________________________________
DESCRIPTION
This procedure is useful in certain situations where applications are only prepared to receive certain X events. After Tk_RestrictEvents
is called, Tk_DoOneEvent (and hence Tk_MainLoop) will filter X input events through proc. Proc indicates whether a given event is to be
processed immediately, deferred until some later time (e.g. when the event restriction is lifted), or discarded. Proc is a procedure with
arguments and result that match the type Tk_RestrictProc:
typedef Tk_RestrictAction Tk_RestrictProc(
ClientData clientData,
XEvent *eventPtr);
The clientData argument is a copy of the clientData passed to Tk_RestrictEvents; it may be used to provide proc with information it needs
to filter events. The eventPtr points to an event under consideration. Proc returns a restrict action (enumerated type Tk_RestrictAction)
that indicates what Tk_DoOneEvent should do with the event. If the return value is TK_PROCESS_EVENT, then the event will be handled imme-
diately. If the return value is TK_DEFER_EVENT, then the event will be left on the event queue for later processing. If the return value
is TK_DISCARD_EVENT, then the event will be removed from the event queue and discarded without being processed.
Tk_RestrictEvents uses its return value and prevClientDataPtr to return information about the current event restriction procedure (a NULL
return value means there are currently no restrictions). These values may be used to restore the previous restriction state when there is
no longer any need for the current restriction.
There are very few places where Tk_RestrictEvents is needed. In most cases, the best way to restrict events is by changing the bindings
with the bind Tcl command or by calling Tk_CreateEventHandler and Tk_DeleteEventHandler from C. The main place where Tk_RestrictEvents
must be used is when performing synchronous actions (for example, if you need to wait for a particular event to occur on a particular win-
dow but you do not want to invoke any handlers for any other events). The "obvious" solution in these situations is to call XNextEvent or
XWindowEvent, but these procedures cannot be used because Tk keeps its own event queue that is separate from the X event queue. Instead,
call Tk_RestrictEvents to set up a filter, then call Tk_DoOneEvent to retrieve the desired event(s).
KEYWORDS
delay, event, filter, restriction
Tk Tk_RestrictEvents(3)