-
as seen on Server Fault
- Search for 'Server Fault'
I know how setgid works, but I don't know why it is designed, is there any example to illustrate what problems it solves?
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi,
for a reason I do not really understand, everyone wants sudo for all and everything. At work we even have as many entries as there are way to read a logfile (head/tail/cat/more, ...).
I think, sudo is defeating here.
I'd rather use a mix of setgid/setuid directories and add ACL here and there…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
$ pkg contents -a mode=4??? -a mode=2??? -t file -o pkg.name,path,mode
We can also add a package name on the end to restrict it to just that single package eg:
$ pkg contents -a mode=4??? -a mode=2??? -t file -o pkg.name,path,mode core-os
PKG.NAME PATH MODE
system/core-os…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I want to share a folder for two users, here is what I did:
created group
add users to group
set chmod
set chown
set setgid 2775
reboot
After that:
echo test > /Common/testfile - group readable&writable
Created file using Nautilus - group readable, but not writable
Copied file using…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm running a compiled python cgi script (using cxfreeze) in Apache.
The script, among other things, calls
os.setuid(some_uid)
os.setgid(some_gid)
Obviously some_uid/gid are legal and I set the sticky bit for both user and group, and verified it is indeed set.
However on every call i get an error…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
Is it possible to do the following using 1 polkit .pkla file?
Disable all users except those in the wheel group from using polkit.
The users in the wheel group will need to provide the root password when using polkit.
/etc/polkit-1/localauthority/50-local.d/wheel-only.pkla
[disable all users…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have a process (dbus-daemon) which has many open connection over UNIX sockets. One of these connections is fd #36:
=$ ps uw -p 23284
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
depesz 23284 0.0 0.0 24680 1772 ? Ss 15:25 0:00 /bin/dbus-daemon --fork…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I've been using Linux for a couple of years now but I still haven't figured out what the origin or meaning of some the directory names are on Unix and Unix like systems. E.g. what does etc stand for or var? Where does the opt name come from?
And while we're on the topic anyway. Can someone give a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All,
I am beginner to UNIX,UNIX Shell Scripting.
Can you please guide me through any excellent sites for unix(which are easy to understand),some study materials(tutorials),video tutorials.
Please help!!
Thanks!
>>> More
-
as seen on Super User
- Search for 'Super User'
Is Mac OS X developed on a licensed Unix or is it a Unix-like clone that, unlike Linux, conforms to Unix specification well enough to be registered as a Unix OS. Not until Leopard, Mac OS X did not gain the Unix certification. But in Leopard, Terminal still print:
GNU bash, version 3.2.48(1)-release…
>>> More