root access to a custom .sh defined as shell; need root privilages to add newuser
Am running a free server of shells in freeBSD 4.9, the amount of people solicitading new accounts has been too much that i can not handle them by me, so i wrote this .sh program to do it for me, my code its secure as much i can tell, i understand the risk involve and decide to do it anyways, soo i create a new group call 'shellauto', add new user 'newuser' promote to 'wheel', then i modify etc/shells to accept my new shell, so when some body logs to my server as 'newuser' the server run my .sh (freeshell.sh), everything works goodl but my question is ...how can i give my script root previlages ? so can addusers without me? also if there is a way to type a command directly to shell (bash) so i can define quotas of 1mb, and background procees to 3?? that way i can include those commands to my freeshell.sh ...thanks _ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
i found something ugly about freeBSD
Am probably wrong i hope but mysqld creates a file call /tmp/mysql.sock but this file got to be 777??? ...i loging with a other useran call a rm /ytmp/mysql.sock and mysql stop working ...O_o ..but then i did this ... # chmod -R 777 /tmp # /usr/local/blabla/sh mysql-server.sh start # chmod o-w /tmp/mysql.sock ..and then again mysql stop working ...soo ...from my as a administrador this is not posible ...because some body rm that file and ..thats ir ...mysql stops ...my setting bad?plz help me ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hi from california
Am soo sorry to ask for help, but ...i try for 1 week now, am running a free shell server in spanish http://shelgratis.org ; and i starting to offer access to individuals for free on my web server; my old server was red hat linux 9, and i change main main server (got 3 servers) to be freeBSD , i think its a great Os, but i had try to get php+perl+apache+mysql to work togather but some how i cant! ...i try searching your help documents and found zero topics about, i dont know withs port will do the job for me, i try i did recompile my apache from scratch with no results ...as far a go was get everything but php, perl cant call mysql deamon...can you please help me??? ...thanks! alex [EMAIL PROTECTED] ; atleast tell me withone off all ports on your site will enable my mysql+apache+php+perl ??? thanks again ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help O_o
I was securiting my Box ,,,and then i used to have alex on wheel group so i su to root, but i modify and change su to antother group and then i ,,, chmod o-xr /bin/su and chmod g-xy /bin/su ...no now i cannot login ..from my terminal or from my boz, i dont hace root enabled mark as insecure, soo ...if i try su from alex ...no more, and if i try loging from machine keyboard no permit from root! ...so plz helpme log ing as root? ...i mess up my box and am crying ...no logging from terminal or from sisical been there ion machine keyboard, can you help ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]