On Sun, 9 Sep 2001, Codre Adrian wrote:

> Daca este cineva la care ii mila de un incepator il rog sa imi raspunda la
> urmatoarele intrebari:
>
> - unde trebuie sa adaug optiunea -notails ca la montarea partitiei reiser sa
> primeze performanta si nu spatiul pe disk ?

mount -t reiserfs /dev/hdXX /dir -o notails

sau in /etc/fstab

/dev/hdXX /dir reiserfs notails freq passno

man mount
man fstab

> - am incercat astazi automount-ul si mam lovit de o kestie: de ce nu vad
> directoarele unde trebuie sa monteze (de exemplu directorul "cd" pt. CD-ROM
> in directorul /mnt) decat dupa ce dau "cd /mnbt/cd" ? (de exemplu daca dau
> din xmms sa pleieze un cd-u nu pot deoarece nu vede directorul acela, desi el
> exista)

asta face automount-ul, monteaza cand intri in directorul respectiv.

> - de ce ca user nu pot da "shutdown -h now" dar pot sa dau "poweroff" (aveam
> o placa tv si seara eram obisnuit sa dau "shutdown -h 120" cand eram root si
> ca user trebuie sa dau "sleep 120m && poweroff" ceea ce face aceeasi kestie) ?

din man poweroff:

       If you're not the superuser,  you  will  get  the  message
       `must be superuser'.

din man shutdown:

ACCESS CONTROL
       shutdown  can  be  called from init(8) when the magic keys
       CTRL-ALT-DEL are pressed, by creating an appropriate entry
       in /etc/inittab. This means that everyone who has physical
       access to the console keyboard can shut the  system  down.
       To  prevent  this,  shutdown can check to see if an autho�
       rized user is logged in on one of the virtual consoles. If
       shutdown  is  called with the -a argument (add this to the
       invocation of shutdown in /etc/inittab), it checks to  see
       if  the file /etc/shutdown.allow is present.  It then com�
       pares the login names in that file with the list of people
       that   are   logged   in   on   a  virtual  console  (from
       /var/run/utmp). Only if one of those authorized  users  or
       root  is  logged  in,  it  will proceed. Otherwise it will
       write the message

       shutdown: no authorized users logged in

       to the (physical) system console. The format of /etc/shut�
       down.allow is one user name per line. Empty lines and com�
       ment lines (prefixed by a #) are allowed. Currently  there
       is a limit of 32 users in this file.

> - care este riscul de a avea un user sau kiar si root fara parola ? (stupid
> question)

de ex. riscul de a se prinde cineva de asta si a o folosi...

> - ce avantaj aduce devfs-ul inafara de timpul mai mic cand intri in director
> si spatiul mai mic ocupat ?

http://www.cs.uml.edu/~acahalan/linux/devfs.html

> - ce reviste sunt (in romana) despre linux (numai despre linux) si unde
> gasesc ?

habar n-am :-)

cristi

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui