sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #16207
Re: Rettingheder til root
On Sat, 11 Dec 1999, Jesper Krogh wrote:
> > [klip]
> > Før "su" kan fx køre kommandoen "xhost + maskinnavn" hvor maskinnavn er
> > navet på din maskine.
> > Det giver andre brugere på din maskine (såsom root) lov til at benytte dit
> > X-display.
>
> Denne virker altså ikke !!!!
> men at skifte til root med bare su gør, hvorfor det ???
Ved ikke. På min RH 6.0 virker det. Men "su" uden "-" gør ikke:
kwv@phantom309 ~ > su
Password:
[root@phantom309 /home/kwv]# /usr/X11R6/bin/xload
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: :0
[root@phantom309 /home/kwv]# exit
exit
kwv@phantom309 ~ > xhost + phantom309
phantom309 being added to access control list
kwv@phantom309 ~ > su
Password:
[root@phantom309 /home/kwv]# /usr/X11R6/bin/xload
[xload kører]
/kristian
--
Kristian Vilmann - kristian@xxxxxxxx
"Who is General Failure and why the hell is he reading my hard disk ?"
References