[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: what is s ?



It is a permission to execute with the file's owner permissions, for example
:
bin/passwd - (change the password)
when you execute it runs with root permissions and can modify etc/passwd
something you can't do otherwise.

> ----------
> From: 	Ben Nes Michael[SMTP:miki@canaan.co.il]
> Reply To: 	Ben Nes Michael
> Sent: 	?&yod;&vav;&fmem; &shin;&nun;&yod; 15 &pe;&bet;&resh;&vav;&alef;&resh; 1999? 10:12
> To: 	ILUG
> Subject: 	what is s ?
> 
> Hi All
> 
> What the `s' in the file permission mean ?
> dr-xr-sr-x   6 root     root         1024 Feb  9 14:17 pub
> 
> The man chmod wrote this:
> set user or group ID on execution (s)
> 
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-6-6925757
> Fax: 972-6-6925858
> http://www.canaan.co.il
> --------------------------
> 
> 
>