Re: no .bash_hostory file was found in user home folder

2013-10-22 Thread Muhammad Yousuf Khan
i am using package "acct" (lastcomm is part of this package). my question is, isn't "acct" package depends upon user's .bash_history ? or it is maintaining its own log? yes i can see user can delete/edit their history file. is there anyway to record history permanently. a good solution for accoun

Re: no .bash_hostory file was found in user home folder

2013-10-21 Thread Dmitrii Kashin
Muhammad Yousuf Khan writes: > :~$ echo $HISTFILE > /home/ykhan/.bash_history And what's with $HISTSIZE and $SAVEHIST? pgpziKawsMten.pgp Description: PGP signature

Re: no .bash_hostory file was found in user home folder

2013-10-21 Thread Chris Davies
Muhammad Yousuf Khan wrote: > :~$ echo $HISTFILE > /home/ykhan/.bash_history > any idea where these history files are. > actually i need to do some accounting for my users , what they are doing > actually with time tag set to ON. These files are of limited value for accounting since the users ca

Re: no .bash_hostory file was found in user home folder

2013-10-20 Thread Gregory Nowak
On Sun, Oct 20, 2013 at 08:24:04PM +0500, Muhammad Yousuf Khan wrote: > Thanks for the response. > the log that i shared is of a users not root. the username is "ykhan" and > in his home folder history is missing. > i also shared History variables output and i have also read via google that > user

Re: no .bash_hostory file was found in user home folder

2013-10-20 Thread Muhammad Yousuf Khan
Thanks for the response. the log that i shared is of a users not root. the username is "ykhan" and in his home folder history is missing. i also shared History variables output and i have also read via google that user should be set to /bin/bash in passwd file. so they are set to the correct path a

Re: no .bash_hostory file was found in user home folder

2013-10-20 Thread Ralf Mardorf
On Sun, 2013-10-20 at 19:36 +0500, Muhammad Yousuf Khan wrote: > any one can help please? It's weekend, some subscribed here might read the mails next week. Did you already add a new user, to see if there is a history for other users? IIRC there's a history for root, but you didn't mention anothe

Re: no .bash_hostory file was found in user home folder

2013-10-20 Thread Muhammad Yousuf Khan
any one can help please? On Sun, Oct 20, 2013 at 3:42 AM, Muhammad Yousuf Khan wrote: > just sharing, root user got the .bash_history file. i can see all the > commands with no issues with root user only > > > On Sun, Oct 20, 2013 at 3:36 AM, Muhammad Yousuf Khan wrote: > >> :~$ ls -la >> total

Re: no .bash_hostory file was found in user home folder

2013-10-19 Thread Muhammad Yousuf Khan
just sharing, root user got the .bash_history file. i can see all the commands with no issues with root user only On Sun, Oct 20, 2013 at 3:36 AM, Muhammad Yousuf Khan wrote: > :~$ ls -la > total 8492368 > drwxr-xr-x 3 ykhan ykhan 4096 Aug 16 04:00 . > drwxr-xr-x 12 root root4096