Results 1 to 3 of 3

Thread: Help in these problem please?

  1. #1
    crayes5735 NNTP User

    Default Help in these problem please?

    First of all... Sorry if i posted in the wrong section >_<

    Hi, i'm kinda new so please advice and teach/guide me ok?
    Thx in advance... ^^

    I need guide on doing the below things, with just using command line ( yast & yast2 ) are disable.

    *First - I need to create a new local user describe as below :

    -Full name : Little John
    -Login Id : john
    -Temporary password : john123

    *second - there is a marry.txt file, and i want to change the owner of the marry.txt to john. and then change the marry.txt file right to -rwxr-xr-w.

    *third - i wan to backup /etc directory to the /mnt directory. and the backup file name is etc.tar.gz. please teach me on how to type in the correct full command line.

    And after i backup it what command should i type so i can view the backup file?

    And lasty, if i want to restore the file to the /tmp directory, what command line is to type then?

    Please guide me with me all the step/procedure? ( Yast and Yast2 are disable )want to learn it by using just command line?

    I'm new and trying to learn here so thanks in advance ^^

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Help in these problem please?

    From the Grub boot menu:

    Pause the boot by moving the down arrow, then back up to the default boot. But now press backspace, it should delete any text where you can see: vga=0x...
    Remove all text and now type just the number:
    3
    and hit enter

    at the login type your user name and then password
    now type:
    su
    then the root password and hit enter a couple of times
    Now type: yast

    You will find you can manage users here and more..........
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,317

    Default Re: Help in these problem please?

    On Thu, 29 Oct 2009 03:06:01 +0000, crayes5735 wrote:

    > I need guide on doing the below things, with just using command line (
    > yast & yast2 ) are disable.


    Why are these tools disabled on the system? It takes a fair bit to
    disable them on an openSUSE system (you have to opt to not install a fair
    number of packages) - the purpose of these tools is to make admin easier.

    > *First - I need to create a new local user describe as below :
    >
    > -Full name : Little John
    > -Login Id : john
    > -Temporary password : john123


    Have a look at the man page for useradd.

    Type: man useradd

    This is the documentation for the tool and should answer your questions.

    > *second - there is a marry.txt file, and i want to change the owner of
    > the marry.txt to john. and then change the marry.txt file right to
    > -rwxr-xr-w.


    man chown
    man chmod

    These two commands (chown and chmod) will be what you will use for these
    tasks.

    > *third - i wan to backup /etc directory to the /mnt directory. and the
    > backup file name is etc.tar.gz. please teach me on how to type in the
    > correct full command line.


    man tar

    This will show you the options for the tar command.

    > And after i backup it what command should i type so i can view the
    > backup file?
    >
    > And lasty, if i want to restore the file to the /tmp directory, what
    > command line is to type then?


    These two things are also in the man page for tar.

    You'll learn more by doing the research using the resources I've directed
    you to above than if someone just gives you the answers. :-)

    Jim

    --
    Jim Henderson
    openSUSE Forums Moderator

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •