pavan bellari

Greenhorn
+ Follow
since Sep 19, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by pavan bellari

suppose if we issue edquota -u <username>,a window opens and we can set there the soft and hard limits for the user.
but, where does the quota information comes from i.e from which file the edquota is retrieving the information
and
how to set quota for a user from shellscript
21 years ago
pls tell me how to excute mail command in shell script
i had given mail -s "hello raj" raj in shell,
where raj is username
but when i execute that script cursor is wainting for input until i press cntrl+d
But i have to send mail to a user in a shellscript not from the prompt
21 years ago
If i issue a write command at prompt
i am getting the error
write: you have write permission turned off.
even though i am trying this in root i am getting this error and i have seen in /etc/bin/write. the executable permission is given for this.
pls reply this
21 years ago
i want to issue a message such as "Contact System Admin" for a particular user whenever that particular user logs in and the user work must be suspended i.e the user must not be allowed to do any thing.
so can u tell how this can be acheived.
21 years ago
can u tell how to find the number of users and their login names from root.
suppose if i issue ls /home. it is listing some other names such as lost+found, quota.user, quota.group etc along with the user names.
so can u tell how to find exactly the no of users in the system and their login names
21 years ago
I don't want to do anti social things.
I am doing a project for system administrator. I want to issue a message to a user like
"Contact system administrator and i want to suspend the user from work until he contacts system admin"
so tell me how to issue a message immediately when ever the user logins
and he should not be allowed to enter to his login. or suppose if he already login, a message should come and the work must be suspended.
thanks in advance
21 years ago
There are 3 questions. pls reply this
-----------------------------------------------------
how to execute wall command in shell script
desc:
how to pass messages to users logged in thru wall command from shell script
-----------------------------------------------------
how to change directory(cd command) from shell script
for eg:
in shell script i have given cd/home
but when i execute shell scipt the directory remains the same with out change.
-----------------------------------------------------
how to flash a message when user logs in
desc:
to give a message from root to a particular user so that when ever the user logs in, the first message must be "Contact System Administrator" and system should not allow the user to do any thing further. only message should be flashed
-----------------------------------------------------
thanks in advance
21 years ago
Thanks Mr Richard Klien
It is working well.
U have done a great job to me. It is very much worth for me. I am in the mid of project . If any doubts can i contact u. pls give me ur mail id
Thank u very much
one more doubt. If possible pls clarify
I am connecting Windows and Linux machine thru Java RMI. and my server files are in Linux Server. when I connect Linux machine(144.16.75.124) thru Java on Windows It is showing error:
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: no further information
although I have given the ip-address of the linux machine(here it is 144.16.75.124). The error is Connection refused to host: 127.0.0.1
and I haven't mentioned 127.0.0.1 or localhost any where in the program
21 years ago
I am connecting Windows and Linux machine thru Java RMI. and my server files are in Linux Server. when I connect Linux machine(144.16.75.124) thru Java on Windows It is showing error:
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: no further information
although I have given the ip-address of the linux machine(here it is 144.16.75.124). The error is Connection refused to host: 127.0.0.1
and I haven't mentioned 127.0.0.1 or localhost any where in the program
21 years ago
Everybody scolded why u have posted the question "can anybody say how to create our own swing component" twice, but nobody answered my question.
pls try to answer my question
I didn't get the right answer except scoldings
[ October 17, 2003: Message edited by: pavan bellari ]
21 years ago
hello Mr Richard Klein
Thanks for ur quick reply.
I had already tried what u said useradd -p option. no error is shown in that
but when we login with the user created with useradd -p it is not allowing to login.
but when we entered as root and tried to create useradd with the username above it is showing that user already exists
that means though we give the command useradd -p it is creating the new user but not assigning the password
pls reply this soon
thanks in advance
21 years ago
The problem is to create a new user and assign a password for that user from the shell script instead of at prompt.
i have create a file using vi editor
and i have typed
useradd xyz
passwd xyz pqr
and when i run the shell by giving bash file name, the new user is created but the password is not assigned. it is treating pqr is also a username
please tell me how to assign password for a user from the shell script
[ October 16, 2003: Message edited by: pavan bellari ]
21 years ago
can any body say how to create our own swing component.
thanks in advance.
21 years ago
can any body say how to create our own swing component.
thanks in advance.
21 years ago
hello sir,
u have replied for my problem java RMI compilation Error and u have said that "It looks like you are using gcj. I have used gcj's version of rmic, but it appears other people have had this error. I would suggest trying the rmic which comes with Sun's jdk".
but even though i have set the path to java directory it is taking gcj RMI path. can u please tell how to set path to sun jdk's RMI.
sorry for troubling u for the same question
Thanking u
Pavan
21 years ago