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

su -c



Hello,

Looking at startup scripts for PostgreSQL which I'm currently working with a bit, I've came across some, it seems, incorrect information for `man su`.

In short, the -c switch of su is described in the man page as setting the desired login class of the session to be run.

In the examples, however, the -c seems to be used to run a command.

I've tried it to my best, and -c surely seems to run a command, NOT change class (the latter errors).

Can someone verify if there is an error or if I'm seriously missing something here? :)

I'm running 3.5 stable. Excluding dmesg since I don't consider this hardware related..

Thanks in advance!

// Leo



Visit your host, monkey.org