previously on this list Matthias Urlichs contributed: > > Will a script doing this be portable to other Linuxes or even BSD > > Unices? > > > No. BSD has daemon(8). If you want portability, you probably need to check > what's available. (start-stop-daemon, daemon (on BSDs), sudo) >
I can tell you that not all systems (pclinux os and others) have sudo though I think they should and why should people know or re-learn how to use sudo for that. The only portable and intuitive thing almost guaranteed to be available is su, atleast it was. -- _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd _______________________________________________________________________ -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/273168.30904...@smtp148.mail.ir2.yahoo.com