coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Friday October 31, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 34 guests online

Newest Member

nbewwmbxog

Hit Counter
14821211 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:641665
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

chmod - setting setuid or setgid
Description

Setting setuid or setgid with chmod

To setuid:

# chmod u+s dir | file

To setgid:

# chmod g+s dir | file

Meaning:

rwSrwSrwS ( "S" = "S - x" setuid/setgid but not executable)
rwsrwsrws ( "s" = "s + x" setuid/setgid and executable)
Example

chmod u+s file

Return to search results

Random coolcommands

coolcommand: how to dump a mysql database which uses reserved words as column names
Example: mysqldump --quote-names --opt -u root --password=badpass --databases dnbame > backup.sql
[show me the details]
coolcommand: how to list the contents of a yet to be installed RPM package in Linux
Example: rpm -qpl ethereal-0.8.18-1.aix4.3.ppc.rpm
[show me the details]
coolcommand: whodo - how to list the jobs being performed by users on the system
Example: whodo myuser
[show me the details]
coolcommand: metainit - how to create a hotspare pool in Solaris Volume Manager
Example: metainit hsp001
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX53472
Category Solaris53326
Category AIX52472
solaris23814
aix23283

Terms of Use
Privacy
Contact


 
coolcommands.com © 2014. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum