LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   a few questions... (https://www.linuxquestions.org/questions/slackware-14/a-few-questions-45204/)

jamaso 02-13-2003 09:37 AM

a few questions...
 
i have some quick questions i would like to ask :

1- I have 5 accounts on my computer and i don't know how can i make the users have permission to shut down the machine ( i tell them to just leave it open...but that is just not going to work ) ;

2- what is the average permission level granted to a normal user ?

3- (this one is not in any way related with slackware but just the same i will give it a shot ) I am about to change my graphics card ( diamond stealth SIII540 with 32 MB agp ) for a riva tnt (16MB) from creative that i took from damaged computer :
- what do you do when change a card on linux ? (apart from all the normal procedures like inserting it correctly on the right slot and so on)
- please refresh my memory xf86config ; XF86config ; XF86Config , i don't remember the command anymore, ehehe .
4- as i installed win98 again ( sorry for swearing) my LILO

BTW It's amazing how folks look desperate to find drivers for lots of diamond cards (520,540,560,s3,s3savage4,etc,etc... for 98,me,2000,XP)
I have it really nice and easy on my Linux box in comparison to my win98 (crappy crappy resolution and if i install the original instalation cd-rom the that's it , i'll have to start on safe mode and change it because an error ocurred ...) anyway ,seek linux and you shall find your driver

thanks

cuckoopint 02-13-2003 08:28 PM

1. maybe "sudo" will do the job for you.

2. I think that differs from one distro to the next. Just do some listing - "ls -l" is your friend.

3. the command differs slightly depending on distro. again, do a list of /usr/bin (./X11?) and /usr/sbin.

4. boot your installation rescue, or get a floppy linux rescue disk. reconfigure lilo, run /sbin/lilo, and reboot.

jamaso 02-14-2003 12:32 PM

thanks, that helped a lot

originally posted by cuckoopint :
----------------------------------------------------------------
4. boot your installation rescue, or get a floppy linux rescue disk. reconfigure lilo, run /sbin/lilo, and reboot.
----------------------------------------------------------------

I found this command line at the instalation prompt very useful :

bare.i root=/dev/hda5 noinitrd ro

and i just would like to ask on more thing :

my LILO looks something like:
----------------------------------------------------------
boot=Insert_your_boot_device_here
prompt
timeout=50
message=/boot/message
root=/dev/hda5
...
----------------------------------------------------------

can you tell me if i should change
- boot=Insert_your_boot_device_here
for
- boot=/dev/hda5 ?


BTW i'm amazed at this video card ( tnt riva ), it's only 16 MB but its better than my 32MB card by far , you can notice a radical change in graphics and performance in general (even mouse clicking, eheh) well i'm on cloud nine .

thanks again

cuckoopint 02-14-2003 05:15 PM

Quote:

Originally posted by jamaso

can you tell me if i should change
- boot=Insert_your_boot_device_here
for
- boot=/dev/hda5 ?

from my lilo.conf:
Quote:

# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda1
short answer = no.
boot= is where lilo stores it's boot information. I'm assuming /dev/hda5 is your root partition for linux, so that's what the root= is used for. As you can see I have it set to /dev/hda (vs. a partition) b/c I want lilo to install itself to the MBR. Otherwise, if I set my lilo to a partition, I would need either a linux boot disk, or start linux from a DOS batch script (I don't dual-boot), etc.

i don't know why you have it like that, but I'm assuming the distro made it permanant (MBR) somewhere along the line. If you think you have lilo setup correctly, you could try to rerun it set to your /dev/hda. But, hey if it works already... ;)

Just remember, whenever you edit your lilo.conf, you will need to rerun lilo or bad things will happen on a (re)boot.

jamaso 02-14-2003 07:41 PM

thanks again, i got my lilo ok now .


All times are GMT -5. The time now is 09:32 AM.