LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2007, 08:18 PM   #1
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Rep: Reputation: 15
Question some question about linux


hi all

I have some question about linuxOS ( Im using Fedora 6.0)

1) Can i create another user account,(except root and my account), n how can i do it?

2) I have just installed some program, and how do i verify that it have really installed

3) last one, During install a program, can i make a output file which have log what package have installed in my OS.

Thank everybody have read and help me
best wishes for all
 
Old 01-25-2007, 08:50 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
I have some question about linuxOS ( Im using Fedora 6.0)
Please note we also have a FC forum.


1) Can i create another user account,(except root and my account), n how can i do it?
With the commandline tool "useradd" (or the system-config-users gizmo). "man useradd" for more info.


2) I have just installed some program, and how do i verify that it have really installed
By running it? ;-p With your package manager? Say you installed the (fake name) openheartsurgery-1.0-1.i686.rpm. With the commandline tool you'd do "rpm -q openheartsurgery". If it's installed it'll return some info, if not installed it will tell you.


3) last one, During install a program, can i make a output file which have log what package have installed in my OS.
That's done on a daily basis by /etc/cron.daily/rpm.cron, IIRC.
 
Old 01-25-2007, 09:48 PM   #3
opto
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware64 , OS X , OpenBSD
Posts: 56

Rep: Reputation: 15
Quote:
2) I have just installed some program, and how do i verify that it have really installed
To find out if a program is already on my computer, I use the command whereis:
Code:
user@terminal$:whereis emacs
emacs: /usr/bin/emacs /usr/libexec/emacs /usr/share/emacs /usr/man/man1/emacs.1.gz /usr/share/man/man1/emacs.1.gz
Since there is a emacs in one of the bin directories, the program is probably already installed (note the word "probably", there might be some instances where this is not true).
 
Old 01-26-2007, 12:26 AM   #4
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for all

That's done on a daily basis by /etc/cron.daily/rpm.cron, IIRC.

[a@10 cron.daily]$ ls
00webalizer beagle-crawl-system logrotate prelink
0anacron certwatch makewhatis.cron rpm
0logwatch cups mlocate.cron tmpwatch
[a@10 cron.daily]$

is this file ?
[@10 cron.daily]$ cat rpm
#!/bin/sh

/bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
| /bin/sort > /var/log/rpmpkgs
[@10 cron.daily]$

used cat to see /var/log/rpmpkgs
i have saw many packages, may be it installed since im use fedora up-to-date.
But my package i have just installed is not included inside.

anyway thank for all ur reply
 
Old 01-26-2007, 12:30 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I think unSpawn may have meant logwatch perhaps? That's where I see it in FC, and it's mailed to the root account daily
 
Old 01-26-2007, 01:43 AM   #6
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Original Poster
Rep: Reputation: 15
@ billymayday

Ologwatch is a vi file with shell or bash code inside....i don't know much about it

it's mailed to the root account daily
maybe im silly but i dont know this one,
if it true, how can i receive its infomation with root account.

anycomment is high appreciate
thanks
 
Old 01-26-2007, 01:51 AM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
There will be a file in /etc called aliases. There should be a section in there along the lines of

Quote:
# Person who should get root's mail
root: user
and you just change user to your username

if you run sendmail as your MTA (the default for FC6 and if you don't know what I'm talking about you run sendmail) you then need to run newaliases (just type newaliases from the command line as root or sudo newaliases).

If you run postfix, you would run postalias /etc/aliases instead
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration