Re: Can't Switch User

On Sun, 14 Dec 2008 08:45:12 -0500
"Paul E. Lehmann" <plehmann_21716@xxxxxxxxx> wrote:

I imagine there is probably a command option that allows
the same thing in SuSE. Every day a new learning experience. Oh
well, I am retired, I have time and I need to keep the neurons
firing :-)

Then let me introduce you to another handy command:


This will show you the manual page for the command. For example, you
could have done:

man useradd

and found a good deal of info there. One piece is that
/etc/default/useradd is used for the defaults (in addition to any
command line parameters you might have entered). The command line
parameters you can add will give you all kinds of options (create /home
dir entry and so on). All the Ubuntu command does is run a script that
asks you that info and then issues the appropriate parameters for the
useradd command. In fact, that's basically what the GUI command does,

To access a man page from a terminal window:

man commandname

If you know it's in a particular section of the man pages, e.g. section
7, you could do:

man 7 commandname

If you want to learn more about the man command:

man man

This is also possible from the GUI with several different tools. From
KDE, open Konqueror (the little house icon) and in the location bar enter:


If there is a matching entry in more than one section, you will be
asked to pick one, otherwise it will just display the man page. You can
also use (if installed) programs like xman, tkman and others. Just
press the <Alt>-<F2> key for a quick command line input box and enter
the program there.

The info program is similar, although better supported; man pages are
tending to fall into disfavor with some in preference to info pages. If
you are an emacs fan, this will work great for you:

info commandname

If you are less than enthusiastic about emacs, consider installing the
pinfo program on the SUSE CDs. It's a little easier to navigate than
info, especially for newbies:

pinfo commandname

Once again, for those of you that prefer the GUI tools, open Konqueror
and enter in the location bar:


Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline)

Open standards. Open source. Open minds.
The command line is the front line.
10:23am up 47 days 14:15, 20 users, load average: 0.11, 0.38, 0.65