Sponsored Content
Operating Systems Solaris How to restrict rm -rf * to users other than root? Post 302680863 by RudiC on Thursday 2nd of August 2012 11:26:56 AM
Old 08-02-2012
id -u (if available on your machine) might save you all the cutting...

Last edited by RudiC; 08-02-2012 at 12:57 PM.. Reason: needs to be the -u option , not g nor G
This User Gave Thanks to RudiC For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Restrict users to ther home directory

Hello! I want users in a certain group to be restricted to their home directory. So that they have full access to all files and folders in their home directory but the cant go to any directory above. Does anyone know how to do this? Anders (1 Reply)
Discussion started by: alfabetman
1 Replies

2. UNIX for Dummies Questions & Answers

Restrict users to certain functions

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

3. Solaris

how to restrict the perticular commands to users

Hi all, How to restrict the perticular commands to users(or perticular users) in solaris10? Could you please assist me the precedure for above issue. Thanks & Regards krishna (0 Replies)
Discussion started by: krishna176
0 Replies

4. Shell Programming and Scripting

how to restrict FTP users not to delete their files

Hello all, We have an FTP Server setup with VSFTPd and its working fine without anonymous login (we must maintain this standard) The requirement is to restrict users not to overwrite (and delete) their files. In other words, once their files are uploaded to FTP Server, they should not be... (1 Reply)
Discussion started by: prvnrk
1 Replies

5. UNIX for Advanced & Expert Users

Restrict access to specific users.

Hi All! I would like to know if there is any specific way by which I can restrict access to apecific users (ip addresses). OS : Red hat linux Thanks! nua7 (6 Replies)
Discussion started by: nua7
6 Replies

6. Red Hat

Restrict local users to access ftp

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

7. Linux

Restrict NFS access to root

Hi Everybody, If there is a general NFS share in the LAN and for example this share has three files - a, b, c is there any way to restrict file access to the root user of one particular host(falcon) in the same LAN environment while the normal users from the same host(falcon) should be able... (4 Replies)
Discussion started by: sudhirav
4 Replies

8. Solaris

To restrict the users not to change the passwords for NIS users

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

9. Shell Programming and Scripting

How to restrict root user from running some commands

is it possible that we can restrict the root user if he runs some commands?? e.g i want if root runs command 'rm etc/passwd', he shoudn't be able to run command and throws error :confused: (3 Replies)
Discussion started by: sheelsadan
3 Replies

10. AIX

Procedure to restrict direct access as root

Hello, I would like to confirm whether the below procedure is correct. disabled direct super user access on AIX server using below procedure. Please let me know if there is any additional step. 1) confirm the access to HMC, console to reach the LPARs 2) chuser rlogin=false root ... (3 Replies)
Discussion started by: dio34
3 Replies
MSVMOCAS(1)						      General Commands Manual						       MSVMOCAS(1)

NAME
msvmocas - train a multi-class linear SVM classifier SYNOPSIS
msvmocas [options] example_file model_file DESCRIPTION
msvmocas is a program that trains a multi-class linear SVM classifier using the Optimized Cutting Plane Algorithm for Support Vector Machines (OCAS) and produces a model file. example_file is a file with training examples in SVM^light format, and model_file is the file in which to store the learned linear rule f(x)=W'*x. model_file contains M columns and D lines, where M is the number of classes and D the number of dimensions, corresponding to the elements of the matrix W [D x M]. OPTIONS
A summary of options is included below. General options: -h Show summary of options. -v (0|1) Set the verbosity level (default: 1) Learning options: -c float Regularization constant C. (default: 1) -n integer Use only the first integer examples for training. By default, integer equals the number of examples in example_file. Optimization options: -m (0|1) Solver to be used: 0 ... standard cutting plane (equivalent to BMRM, SVM^perf) 1 ... OCAS (default) -s integer Cache size for cutting planes. (default: 2000) Stopping conditions: -a float Absolute tolerance TolAbs: halt if QP-QD <= TolAbs. (default: 0) -r float Relative tolerance TolAbs: halt if QP-QD <= abs(QP)*TolRel. (default: 0.01) -q float Desired objective value QPValue: halt is QP <= QPValue. (default: 0) -t float Halts if the solver time (loading time is not counted) exceeds the time given in seconds. (default: infinity) EXAMPLES
Train the multi-class SVM classifier from example file example4_train.light, with the regularization constant C=10, verbosity switched off, and save model to msvmocas.model: msvmocas -c 10 -v 0 example4_train.light msvmocas.model Compute the testing error of the classifier stored in msvmocas.model with linclass(1) using testing examples from example4_test.light and save the predicted labels to example4_test.pred: linclass -e -o example4_test.pred example4_test.light msvmocas.model SEE ALSO
svmocas(1), linclass(1). AUTHORS
msvmocas was written by Vojtech Franc <xfrancv@cmp.felk.cvut.cz> and Soeren Sonnenburg <Soeren.Sonnenburg@tu-berlin.de>. This manual page was written by Christian Kastner <debian@kvr.at>, for the Debian project (and may be used by others). June 16, 2010 MSVMOCAS(1)
All times are GMT -4. The time now is 11:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy