On Friday 18 June 2004 09:23, you wrote: <snip>
John, "su" is short for "switch user". You can "su john" or "su jenny", for example. In the case of root, the "root" is not necessary, so "su" is the same as "su root". When switching between users you will be prompted for that user password, unless you are calling the command from root. If you are logged on to your Xwindow system as john and you open an xterm and type "su" you are effectively switching from user john to root - you should be asked for the root password here. Type it in, and if the $ sign at the prompt becomes a # sign, you are now root. The command "whoami" will also let you know which user you currently are.
It is similar in Slackware, 'su' makes you root, except in Debian on a Konsole Debian asks me for the root password, which I give, which then produces "Authentication fails", I, in my over confident ignorance, knew that 'Sudo' is one of the things that goes in when installing setting up Slackware and as 'su' works for me in Slackware assumed that it might have something to do with 'Sudo'.
Given the foregoing I am doing Ctrl+Alt+F1 giving the root password and then, in the latest case editing the Xconfig-4 file to get a civilised screen resolution as the installation programme gave 800x600 max . I've also managed to install Midnight commander which at least make me a little more sure I'm on safe ground. The file heirarchy, having come to it from Slackware, seems somewhat illogical/over sophisticated. In fact my overall impression is the the whole thing is somewhat over sophisticated. Having come to Linux via Slackware where until the last release the whole distribution was on ONE CD, and if you wanted anything else you obtained it, (in my case with my internet connection on CD), did ./ configure>make>makeinstall/checkinstal and everything worked!
sudo is a program which will allow you to run certain commands as root without having to switch user - so if you install sudo and edit the config file to say that john can run such-and-such a program, you can do so as user john, by putting the command "sudo" before the main command. It can be dangerous to charge around your system as superuser :-))) so it is a useful little program to allow certain tasks as a mortal.