coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday September 3, 2015


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 19 guests online

Newest Member

nbewwmbxog

Hit Counter
16519188 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:651748
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: chsec - reset the failed login count for a user in IBM AIX
Example: chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s user
[show me the details]
coolcommand: sysdumpdev - how to assign a primary or secondary dump device in IBM AIX
Example: sysdumpdev -P -p /dev/hd7
[show me the details]
coolcommand: how to find which RPM package owns a file in Linux
Example: rpm -qf /path/to/file
[show me the details]
coolcommand: how to check LUN information in Solaris 10
Example: fcinfo hba-port -l
[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 UNIX56275
Category AIX54071
Category Solaris53798
solaris23832
aix23327

Terms of Use
Privacy
Contact


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