Search Results

Search: Posts Made By: tjay83
2,124
Posted By tjay83
yea, actually it was a quiz question. I am just...
yea, actually it was a quiz question.
I am just wondering the answer
1,411
Posted By tjay83
partition question
Hi
I have an exam question which is below and I am looking for answer of this question:
I would appreciate your help.

* You are the systems administrator of a mail server that services...
2,531
Posted By tjay83
LILO boot loader installation
What are the ways in which a LILO boot loader can be installed on a
Linux system.
5,184
Posted By tjay83
thanks What is the diffrence between daemon and...
thanks
What is the diffrence between daemon and crontab?
5,184
Posted By tjay83
schedule tasks
As far as I know
Crontab is the utulity to schedule tasks to run at specific times.Is there any utility to perform the same task
2,172
Posted By tjay83
yes glen
yes glen
8,128
Posted By tjay83
best way to reboot ?
Hi

What is the best way to reboot a Linux computer?
i) Press the power switch
ii) type 'init 6' as any user, then enter the root password when prompted
iii) Pour metal filings in the top of the...
2,172
Posted By tjay83
thanks glen. One user on this system is using a...
thanks glen.
One user on this system is using a lot more disk space than any other user. How shall I deal
with this.
2,172
Posted By tjay83
disk usage
Hi
If the disk space is running low in the home directories,
and I cannot add more disk space at the moment.

How can I determine who is using the most disk space?
11,611
Posted By tjay83
ok....
ok....
2,923
Posted By tjay83
How can I change this to oppsosite. I mean, if...
How can I change this to oppsosite.
I mean, if path doesnt exist, echo...
[[ -d $my_path ]] && echo "path exist"
2,923
Posted By tjay83
thanks
thanks
2,923
Posted By tjay83
check existence of the path
Hi
How can I check if the path exist or not?

echo "Enter path:";
read my_path;

##I should check whether my_path exists or not....
11,611
Posted By tjay83
???????
???????
11,611
Posted By tjay83
???????
???????
11,611
Posted By tjay83
cos,chage command is not workin...
cos,chage command is not workin...
11,611
Posted By tjay83
force to change password(by modifying /etc/shadow)
hi
by modifying /etc/shadow
how can I Force a change of password so that user has at least 1 week to login?

I did it by using:

echo "enter username to force password change"
read user;...
5,863
Posted By tjay83
That worked, thanks a lot
That worked, thanks a lot
5,863
Posted By tjay83
problem with changing default home directory
Hi
I want to change the default home directory of a user by modifying the /etc/passwd.

I have a user named John
cat /etc/passwd | grep John

john:x:503:506::/home/john/:/bin

Here is my...
3,463
Posted By tjay83
That is really helpful Thanks a lot
That is really helpful

Thanks a lot
3,463
Posted By tjay83
locking mechanism
I have a shell script.
How can use some kind of locking mechanism to ensure that the script is not being executed by two people
at the same time?
19,235
Posted By tjay83
yea I tried with those variables: ...
yea
I tried with those variables:
username=temp
new_path=/home/temp

but not correctly working
19,235
Posted By tjay83
useradd temp cat /etc/ passwd ...
useradd temp

cat /etc/ passwd
temp:x:502:505::/home/temp:/bin/bash

After I run the script with the following variables:
username: temp
new_path: /home/temp

cat /etc/passwd...
19,235
Posted By tjay83
echo "Enter username to change home directory:"; ...
echo "Enter username to change home directory:";
read username;
echo "Enter new home directory path:";
read new_path;

awk -v user="$username" -v path="$new_path"...
19,235
Posted By tjay83
it again doent work
it again doent work
Showing results 1 to 25 of 98

 
All times are GMT -4. The time now is 05:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy