StarOffice & ellhnika

tkalfigo at alexandros.csd.auth.gr tkalfigo at alexandros.csd.auth.gr
Sat May 3 17:21:52 EEST 1997


At 07:38 ìì 1/5/1997 -0700, you wrote:
>
>PS: 1)mporei ENAS xrhsths (px o hkosmidi) na trexei thn entolh shutdown?
>xoris omos setuid root. Ekana chmod g+s se ena group pou htan o root kai o
>hkosmidi alla tipote. Kamia idea?
>
>#############################
># Kosmidhs Harris           #
># hkosmidi at aix.meng.auth.gr #
>#############################
>

Me to sudo facility pou exei to linux sou. Kane visudo pou kanei eidiko
edit to arxeio /etc/sudoers
Ekei exei ena "Host alias specification" opou grafeis: "Host_alias
MYNET=alpha,mysunny,kostas,nikos"
kai orizei computer groups opou 8a mporoun na ektelestoun oi edoles pou
akolou8oun. 
Exei "Command alias specification" opou grafeis: 
"Cmnd_Alias SHUTDOWN=/sbin/mount,...[oti alles edoles 8eleis na exei auto
to alias]"
kai yparxei kai to trito meros opou orizeis tou xrhstes pou mporoun ta
ektelesoun kapoio alias edolwn gia kapoio hosts_alias , dhladh:
harris	MYNET=SHUTDOWN   
pou lei oti o xrhsths harris mporei na ektelei stous ypologistes pou
anhkoun sto MYNET tis edoles tou alias SHUTDOWN. Yparxei kai to eidiko
alias ALL pou mporei na mpei sthn 8esh eite tou host_alias eite tou
Cmnd_alias kai shmainei "ola"
Dhladh to entry gia ton root einai: root ALL=ALL
Auta.... :-)
			
				Best regards
					Thalis
Thalis Kalfigopoulos 
Computer Science Dpt.
Aristoteles University of Thessaloniki
"Chernobil '46,Chirosima '86,Windowz '95"
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte  e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list