Search Results

Search: Posts Made By: explorer007
2,811
Posted By explorer007
silent Input in PERL
Hello Experts,

I am learning perl. I know ksh/bash/csh...

In ksh I use to do this way... to read user input in silent mode so that nothing returns on the screen.

stty -echo
read -r pswd...
24,016
Posted By explorer007
Help on getopts in ksh
I am trying to make a Shell Script in KSH on Linux box and Solaris box which takes few arguments... with long options using getopts (not getopt).

I have my sample code... at the end I will say my...
Forum: Ubuntu 02-25-2012
14,645
Posted By explorer007
Thanks Will Do. ---------- Post updated at...
Thanks Will Do.

---------- Post updated at 09:39 PM ---------- Previous update was at 03:07 PM ----------

Admin,

I have tried the way you want me to do.

My Sudoers file
# User...
Forum: Ubuntu 02-25-2012
14,645
Posted By explorer007
Ok.. then instead of echo I have set up /bin/rm...
Ok.. then instead of echo I have set up /bin/rm ... still the sudo does not work as expected.
I set alex ALL=(cbttest:sytgrp) ALL, !/bin/rm
through visudo and there was no syntax error popped...
Forum: Ubuntu 02-25-2012
14,645
Posted By explorer007
Admin: Here is the test case that I went through ...
Admin: Here is the test case that I went through
My Sudoers File

# User privilege specification
root ALL=(ALL:ALL) ALL

alex ALL=(cbttest:sytgrp) ALL, !/bin/echo


[alex@ubuntu]...
Forum: Ubuntu 02-25-2012
14,645
Posted By explorer007
Hi Admin_Xor, I tried that way too but it...
Hi Admin_Xor,

I tried that way too but it did not helped and more over... let me say this.. if the user copies the /usr/bin/passwd binary file to other location... he can execute that...
Forum: Ubuntu 02-24-2012
14,645
Posted By explorer007
Restrict SUDO Access
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...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 04:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy