10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Just learning about the privilege escalation method provided by setuid. Correct me if I am wrong but what it does is change the uid of the current process to whatever uid I set. Right ?
So what stops me from writing my own C program and calling setuid(0) within it and gaining root privileges ?
... (2 Replies)
Discussion started by: sreyan32
2 Replies
2. Shell Programming and Scripting
zip -P abc -r FBE_SalesRepAccount_20170913125741.zip FBE_SalesRepAccount_20170913125741.txt
zip error: Invalid command arguments (encryption not supported)
zip -v
Copyright (C) 1990-1999 Info-ZIP
Type 'zip "-L"' for software license.
This is Zip 2.3 (November 29th 1999), by Info-ZIP.... (1 Reply)
Discussion started by: alokjyotibal
1 Replies
3. Solaris
Hi Guys,
I need grep package with -A option for Solaris 10,
Where can I download this from,
Please advise. (2 Replies)
Discussion started by: manalisharmabe
2 Replies
4. Solaris
I want to use fgrep for a word serch ignoring case and it should dispaly word count along with the file name.
I m using below code
fgrep -wci string filenames
But it is giving error
Usage: fgrep pattern_list
fgrep ... ...
I have checked the man page... (11 Replies)
Discussion started by: millan
11 Replies
5. UNIX for Advanced & Expert Users
Hi,
Please find the below code.
function ABC
{
echo "Enter Element Name:"
read ename
echo "Enter Element Source path:"
read spath
echo "Enter Element Destination path:"
read dpath
echo "cp -p $spath/$ename $dpath/$ename"
echo... (8 Replies)
Discussion started by: gthangav
8 Replies
6. UNIX for Dummies Questions & Answers
According to Security standards given in
https://www.stanford.edu/dept/as/ia/security/policies_standards/AS_standards/RH_linux_prod_sec_std_1.0.1.html
Being a production system i want to implement the same on our server.
but when i tried finding other files i got following output.
# ls... (5 Replies)
Discussion started by: pinga123
5 Replies
7. UNIX for Advanced & Expert Users
Good day all.
I'm trying to add a user with useradd and the -p option to assign a project name, but the result is that the user is created with an error message: "UX: useradd: user.root name should be all lower case or numeric."
The command:
useradd -d /export/home/tester -g rtpgrp -G... (2 Replies)
Discussion started by: BRH
2 Replies
8. Solaris
Hello,
I need to configure a Cisco VLAN Accesspoint with DHCP using Solaris
dhtadm & pntadm
Network: 10.10.122.0 255.255.255.0
Default Router 10.10.122.1
Scope Range 10.10.122.10 - 254
Option 60 “Cisco AP c1142”
Option 43 ... (0 Replies)
Discussion started by: fredy82
0 Replies
9. Solaris
Hi All,
Is it possible to run date -d option in Solaris?
Do we have a work around so that -d option will be recognized
by solaris as it is recognized by linux.
I need this since i am using this in scripting and it works in Linux box. my problem is
it doesn't work in solaris box.
... (6 Replies)
Discussion started by: linuxgeek
6 Replies
10. Programming
Anyone know what the -Xc option does? Is there an equivalent option for the Gnu compiler? :confused: (3 Replies)
Discussion started by: BCarlson
3 Replies