si ecco come funzionava, cmq, ricordati che va bene anche il 6 (110), tanto il terzo bit non ha nessun altro effetto se non sbaglio.
codice:
ls -l /bin/zsh
-rwxr-xr-x 1 root bin 443260 2004-03-23 06:56 /bin/zsh*
XXXXXX@darkstar:~$ stat /bin/zsh
File: `/bin/zsh'
Size: 443260 Blocks: 872 IO Block: 131072 regular file
Device: 301h/769d Inode: 27400 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 1/ bin)
Access: 2005-04-24 16:30:25.864362848 +0200
Modify: 2004-03-23 06:56:55.000000000 +0100
Change: 2004-10-12 22:31:50.000000000 +0200
XXXXXX@darkstar:~$ su
Password:
root@darkstar:/home/XXXXXX# id -u
0
root@darkstar:/home/XXXXXX# chmod u+s /bin/zsh
root@darkstar:/home/XXXXXX# exit
exit
XXXXXX@darkstar:~$ ls -l /bin/zsh
-rwsr-xr-x 1 root bin 443260 2004-03-23 06:56 /bin/zsh*
XXXXXX@darkstar:~$ stat /bin/zsh
File: `/bin/zsh'
Size: 443260 Blocks: 872 IO Block: 131072 regular file
Device: 301h/769d Inode: 27400 Links: 1
Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 1/ bin)
Access: 2005-04-24 16:30:25.864362848 +0200
Modify: 2004-03-23 06:56:55.000000000 +0100
Change: 2005-04-24 16:32:10.766415312 +0200
XXXXXX@darkstar:~$ zsh
\u@\h:\w\$ id -u
0
\u@\h:\w\$ exit
la zsh, ha sempre fatto abbastanza schifo, cmq spero che con la bash certe cose non accadano.