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

s-bit



Hi All,

	I am trying to get the s-bit to work on a shell script, but can't get
it going:

user@testbox:/home/user/tmp >ls -al j.sh
-rwsr-xr-x  1 root root 16 2006-04-27 22:13 j.sh
user@testbox:/home/user/tmp >./j.sh
522
user@testbox:/home/user/tmp >cat j.sh
#!/bin/sh
id -u
user@testbox:/home/user/tmp >sudo id
uid=0(root) gid=0(root) groups=0(root)
user@testbox:/home/user/tmp >

	What am I doing wrong?

Sincerely,

Jan.



Reply to: