coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday November 27, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 26 guests online

Newest Member

nbewwmbxog

Hit Counter
14964802 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:642556
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: free - to see swap space information in linux
Example: cat /proc/meminfo; free
[show me the details]
coolcommand: psradm - how to change processor operational status in Sun Solaris
Example: psradm -a -n
[show me the details]
coolcommand: how to change the password of a user in mysql
Example: mysqladmin -h localhost -u root -p password 'newpasswd'
[show me the details]
coolcommand: oslevel - show the filesets below a specific maintenance level in IBM AIX
Example: oslevel -rl 5200-03
[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 UNIX53701
Category Solaris53370
Category AIX52699
solaris23816
aix23284

Terms of Use
Privacy
Contact


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