9 More Discussions You Might Find Interesting
1. Red Hat
Hi,
I wanted add a group to the sudoers file so they can run sudo commands and blocked su command but it seems they can just run sudo -i to switch to root which defeats my purpose.
Is it possible to block sudo -i with the help of sudoers file or any other way.
Please advise.
The below... (1 Reply)
Discussion started by: Jartan
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am using bash shell on Linux OS, May i please know why is it rounding for big numbers but not for others, is there a workaround to print it as it is with out round off?
printf '%'\''.2f\n' 9999999999999999999.99
10,000,000,000,000,000,000.00
printf '%'\''.2f\n' 99999999999999.99... (1 Reply)
Discussion started by: Ariean
1 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies
5. Shell Programming and Scripting
hi all,
i want to restrict commands to run from a specifc directory..and to make that only some specific commands to run ,,not all.
please help me ...how can i make this happen. (3 Replies)
Discussion started by: tprayush
3 Replies
6. 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
7. Solaris
Dears,
how to determine the commands that could be used by certain user..like I want to prevent some users from running pwd command????
Thanx (4 Replies)
Discussion started by: mm00123
4 Replies
8. Shell Programming and Scripting
Hi,
I guess by default SED looks for any occurences anywhere in the file or text. Is it possible to restrict the search to replace only for the complete pattern .
I have data file like
record 1->"abc abc123"
record 2->"123 aaaaa"
record 3->"./abc acacac"
i have a replace file
... (7 Replies)
Discussion started by: braindrain
7 Replies
9. UNIX for Dummies Questions & Answers
Our users have the tendency to use only one login account, to do their jobs. Obvious itīs a matter of training our users. But our internal audit team insists on restrictions from our system.
So is there an option to restrict an account to only login once into the system?
We use HP-UX 11.0.
... (0 Replies)
Discussion started by: Egroman
0 Replies