10-24-2009
chmod +t logs source inbox target
The directories can only be deleted/moved by the owner.
10 More Discussions You Might Find Interesting
1. Cybersecurity
A few of the other employees here need to learn "vi" in order to use crontab to schedule / unschedule jobs on one of our production servers. I tried to set up a login on one of my Linux boxes for them to use "vimtutor", but scrapped it and decided to try for something more secure, since there are... (1 Reply)
Discussion started by: LivinFree
1 Replies
2. Shell Programming and Scripting
Hi,
I have a folder which contain the log files. The folder may contain sub folders as well. I want to move the contents of the log folder to tmp folder periodically. I have used the command.
LOG_DIR=/logs
DESTINATION_DIR=/tmp/logs
find ${LOG_DIR} -mtime +1 -exec mv {}... (10 Replies)
Discussion started by: farooqpervaiz
10 Replies
3. Shell Programming and Scripting
Hi,
I need to provide execute access to certain users and not to all users
For ex: if ther is a file /home/august/aug.sh.
and there are user's like jan,feb,mar,april,May and jan is the owner of that box. I need to provide execute access to feb and mar only. I also know the root pwd for... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies
4. AIX
Hi,
We have Oracle Database on AIX 5.3 server.We want to give ftp access to a user to a specific folder.He should be able to put and get files from that specific folder only.Moreover he should not be able to cd to any other filesystems also along with root directory.
Please note that as per... (1 Reply)
Discussion started by: dwiravi
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am a newbie to Linux and I want to create a user which can only execute network config commands like ifconfig and ping(to check the config). The following is what I did but failed.
1) Created a group called 'netconfig'.
2) added a user named 'user'.
3) added user to the 'netconfig'... (4 Replies)
Discussion started by: ankushpandit
4 Replies
6. Solaris
Hi,
What is the command or how to create a user with the restricted usage of space on a disk.
Also let me know how to change the limit of the space size allotted in future for the same user.
~Vinodh Kumar V M (3 Replies)
Discussion started by: vino_hymi
3 Replies
7. Solaris
I have solaris 10 os 64 bit.
I need to create a restricted user which has the following command to run
ls
df and du
list crontab of root and edit crontab of root also
please help (2 Replies)
Discussion started by: reyazan
2 Replies
8. AIX
Hello everyone
I need to create a restricted user or a special user. Here is what I need.
I have this path
next to profiles I have server1, server2, server3.......
The user that I have to create I need that he can move between server1. server2, server3 because in every one have logs... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
9. Debian
want to create a user account for each of the key programs installed on my debian server. For example, for the following programs:
Tomcat Nginx Supervisor PostgreSQL
This seems to be recommended based on my reading online. However, I want to restrict these user accounts as much as possible,... (3 Replies)
Discussion started by: Spadez
3 Replies
10. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
LEARN ABOUT OSF1
installbsd
installbsd(1) General Commands Manual installbsd(1)
NAME
installbsd - Installs a command (BSD version)
SYNOPSIS
installbsd [-cs] [-g group] [-m mode] [-o owner] file destination
The installbsd command moves or copies a binary file to the specified destination file or directory. It is most often used in makefiles.
OPTIONS
Copies file to destination rather than moving it. Specifies a group for the destination file. The default group is staff. Specifies the
mode of the destination file. The default mode is 755. Specifies the owner of the destination file. The default owner is root. Causes
the binary file to be stripped after installation (see strip(1)).
DESCRIPTION
If destination is a file and such a file already exists, installbsd removes it before file is moved or copied. If destination is a direc-
tory, file is moved or copied into that directory with its original filename. installbsd will not move a file onto itself.
EXAMPLES
To install a new command called fixit, enter: installbsd -c -o henry fixit /usr/bin
This installs a new command by copying the program fixit to /usr/bin/fixit, with user henry as owner.
SEE ALSO
Commands: chgrp(1), chmod(1), chown(1), cp(1), install(1), make(1), mv(1), strip(1)
installbsd(1)