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 ^^
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
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.