Sponsored Content
Full Discussion: Track user
Top Forums UNIX for Dummies Questions & Answers Track user Post 302430055 by vbe on Wednesday 16th of June 2010 12:25:26 PM
Old 06-16-2010
look:
Code:
(Im root here)
van12:/home/vbe $ chmod 1755 dir1
van12:/home/vbe $ exit #(Now I not root anymore...)
van12:/home/vbe $ cd dir1
van12:/home/vbe/dir1 $ ll
total 144
drwxr-xr-t    3 root     system          256 Jun 16 18:19 .
drwxr-xr-x   49 vbe      staff         69632 Jun 16 18:19 ..
drwxrwxr-x    2 vbe      syso            256 Jun 16 18:19 dir2
van12:/home/vbe/dir1 $ id 
uid=280(vbe) gid=2000(syso) groups=0(system),1(staff),2(bin),8(cron),9(printq),11(lp),60(o
per),160(sasdba),300(dba),310(sas),1055(apache),220(prod),510(controlm),519(mysql)
van12:/home/vbe/dir1 $ rmdir dir2
rmdir: 0653-609 Cannot remove dir2.
The file access permissions do not allow the specified action.
van12:/home/vbe/dir1 $


Last edited by vbe; 06-16-2010 at 01:32 PM.. Reason: typo
 

10 More Discussions You Might Find Interesting

1. Programming

keep track of the last 10 commands the user typed

Can I do it like this? if (strcmp(argv, "history")==0) { argv = "10"; execvp(argc,argv); } actually, it doesn't work, How can I modify it? Thanks (17 Replies)
Discussion started by: zhshqzyc
17 Replies

2. UNIX for Advanced & Expert Users

Track user activity --pls help

hi I want to know how to save all the command used by all the used under a particular root with the time stamp in a file. Eg: User Name: UX10 Time: 10:56 Command: LS User Name: UX23 Time: 10:59 Command: MORE abc.txt -Anand (2 Replies)
Discussion started by: anandtharani
2 Replies

3. UNIX for Dummies Questions & Answers

Possible to track FTP user last login? Last and Finger don't track them.

Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in. Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies

4. Shell Programming and Scripting

keep track of every user

dear all , I m new to shell programming and I need your help. Actually i want to keep track of all the commands executed in a bash prompt of users , very much in same manner as it is displayed when we run "history" command. now the users are smart enough as they delete their history by... (6 Replies)
Discussion started by: xander
6 Replies

5. AIX

Track user logoff in AIX 5.3

Hi Does anybody know if there is a way in AIX 5.3 to track how a user was logged off? For instance where the user typed exit, hit crtl D, shell process was killed, etc. I know of the last log entries but this just shows a users login time and duration. I also tried syslog but I only get login... (5 Replies)
Discussion started by: kimyo
5 Replies

6. UNIX for Advanced & Expert Users

Track user commands

Hi, I have a unix server and I am concerned about the security on that server. I would like to be able to write a script that records all the commands that were typed at the command prompt before the user calls the 'history -c' command and deletes all the history. I was thinking about firing or... (7 Replies)
Discussion started by: mishkamima
7 Replies

7. AIX

Track deleted OS user accounts

Recently we've had a couple user accounts mysteriously disappear. Is there any way to track these accounts and determine who/how they were deleted? (2 Replies)
Discussion started by: Sk0glund
2 Replies

8. Homework & Coursework Questions

Track user log!

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: The task is to measure the density of users that are logged on system. The program should check that every 30... (7 Replies)
Discussion started by: petel1
7 Replies

9. UNIX for Dummies Questions & Answers

How to track user activity?

Hi All Please can you help me with the following issue: A certain vendor installed an application in which for a user to log in; the user must use a user created/predefined by the application. And because this application has more than one user its difficult to track who did what and when,... (6 Replies)
Discussion started by: fretagi
6 Replies

10. UNIX for Advanced & Expert Users

Track activity of a user

Hi All We have a job which writes files to a server at a particular time. The files will be created by a particular user ID Today, during the execution of the job, it created a file to the server and the file sat on the server for sometime, but was deleted immediately at the end of the... (4 Replies)
Discussion started by: sparks
4 Replies
set directory to skulk(1m)												set directory to skulk(1m)

NAME
set directory to skulk - Starts the skulk of a directory immediately SYNOPSIS
cdscp set directory directory-name to skulk ARGUMENTS
The full name of the directory. DESCRIPTION
The set directory to skulk command starts the skulk of a directory immediately. The CDS control program prompt cdscp> does not return until the skulk is complete. The amount of time for the skulk to complete is dependent on the location, number, and availability of repli- cas of the directory. Privilege Required You must have administer, write, insert, or delete permission to the directory. The server principal needs administer, read, and write permission to the directory. NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLE
The following command initiates a skulk on the /.:/admin directory: cdscp> set directory /.:/admin to skulk RELATED INFORMATION
Commands: add directory(1m), create directory(1m), delete directory(1m), list directory(1m), remove directory(1m), set directory to new epoch(1m), show directory(1m) set directory to skulk(1m)
All times are GMT -4. The time now is 06:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy