Re: creating generic user in Linux
Posted in 2000
Richard Create the linux user with a shell of /bin/false (or some other non-existent shell). HTH Sujit Richard Puchalsky <rpuchalsky@att.net> on 04/29/2000 09:12:24 PM Please respond to Richard Puchalsky <rpuchalsky@att.net> To: informix-list@iiug.org cc: Subject: creating generic user in Linux I'm using Foundation 2000 on Caldera eServer 2.3 Linux. I also use PHP and Apache, and I want to be able to write PHP scripts that will connect to the Informix server. In order to do this, I need to have the script connect as a particular user. So I want to create a generic user that I can assign connect privileges to in the database, and select permissions to on tables, and nothing else. If I understand things rightly, Informix doesn't let anyone refer to a userid in Informix that doesn't exist in Linux. So I would need to create a Linux user with the same name as my generic Informix user. Assuming that is correct, then I'd want to create a Linux user who can do absolutely nothing within Linux, including log in. Does anyone have any tips on a good way to do this? I assume that it must be a common problem. I know that I probably should have asked a Linux group first, but I thought that I might be on the wrong path entirely.