Sponsored Content
Full Discussion: UID problem
Top Forums UNIX for Dummies Questions & Answers UID problem Post 8306 by rwb1959 on Tuesday 9th of October 2001 08:13:50 PM
Old 10-09-2001
No problem Chris. I and all the other folks
participating on this forum are glad to be
of any help we can Smilie

I'm sorry I haven't been much help on your
problem. If your machine has never been
connected to the "outside", It would be safe
to say that your system has not been compromised.
I would say... remove the users (userdel) and
re-add them (useradd) but you have already tried
that. If you don't mind re-installing or going
to RedHat, I would say... do so and go ahead
and reformat the disk (it may come up with bad
blocks or something). On securing telnet and ftp,
you can simply edit your /etc/inetd.conf file
and you should see two lines like...
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
...simply insert a "#" (no quotes) in the very
beginning of the line. Once this is done, you
will need to "tell" inetd to re-read the file.
run the "ps" command to find the PID do...
# ps -ef | grep inetd
root 569 1 0 Jul10 ? 00:00:00 inetd
# kill -HUP 569

...the above shows my inetd PID as 569. You would
substitute whatever PID your system shows.
This will turn off those services. When you get
more adventurous, check out the man page
for hosts_access(5) use: man 5 hosts_access
and you can set up the /etc/hosts.allow and
/etc/hosts.deny files to allow ftp and telnet
access to very specific systems or ranges of
IP addresses only. Don't forget to uncomment
the lines in /etc/inetd.conf and HUP inetd
again.

I know it's alot of stuff to assimilate so
I hope I haven't created more confusion Smilie
 

10 More Discussions You Might Find Interesting

1. AIX

UID Change

Currently, I have about 7 servers and the uid for a given person is different on each server. I want to make the uid's the same for a given username on each server. I know how to change the uid via smit, but when I do the previous uid number shows up as the owner for the files of that username.... (4 Replies)
Discussion started by: mcateriny
4 Replies

2. UNIX for Dummies Questions & Answers

Reversing UID's

Is it possible given a uid to determine information about the person with the uid? An example would be simple information regarding what group and the name of the person associated with that uid. It seems there is probably an easy staring me in the face but i cant seem to find it... (3 Replies)
Discussion started by: dreaming1
3 Replies

3. AIX

UID not to be reused

Hello I want to find out how I can make sure in AIX that the UIDs cannot be reused Until after 6 Months after the user has left. Thanks, Noori (4 Replies)
Discussion started by: noori
4 Replies

4. Shell Programming and Scripting

checking uid

How do i go about getting the uid of the user and verify ? if then echo "You are not a superuser, please login as a superuser" exit1; fi the above code doesn't work. can some guru please help me. 1. how to get the uid of the user ? i know by typing id but how to... (7 Replies)
Discussion started by: filthymonk
7 Replies

5. Shell Programming and Scripting

uid script help

i need a script to process a password file and based on the UIDs in the password file, generate the new UID that is 1 greater than the highest uid. i have some script logic but i dont really understand it. any help? #!/usr/bin/perl ########################################## #... (3 Replies)
Discussion started by: livewire06
3 Replies

6. Shell Programming and Scripting

UId

is tty command opens a process in the system if yes then why process got the userid????? (5 Replies)
Discussion started by: Mac91
5 Replies

7. UNIX for Dummies Questions & Answers

Duplicated UID

Hi folks! I need you help to discover what's the impact of a duplicated UID in an operating system. What's the meaning when someone put in different users the same UID? (3 Replies)
Discussion started by: phcostabh
3 Replies

8. AIX

More than 1 UID 0

Hi, Can any one please tell what are the risks of having more than one users having UID 0 (root)? Thanks Naveed (9 Replies)
Discussion started by: naveedaix
9 Replies

9. Solaris

Changing uid value

Hi, I want to change user id gefadm ,uid=0(root) gid=0(root) to uid=16649(isaadmin) gid=16284(dstage), how can i change this uid ,gid one value to another value. Please provide the steps how can i change , uid=0(root) gid=0(root) to uid=16649(isaadmin) gid=16284(dstage). Thanks in advance for... (2 Replies)
Discussion started by: sridhardwh
2 Replies

10. Solaris

UID Admin

Hi All, I have to give permission to one of the groups called as "ABC" as like the permissions of the group "UNIXADM". Could you please some one help on this issue ? (3 Replies)
Discussion started by: ramareddi16
3 Replies
ftpshut(1)						      General Commands Manual							ftpshut(1)

NAME
ftpshut - create shutdown message file to shut down the ftp servers at a given time SYNOPSIS
time [ warning-message ... ] DESCRIPTION
The command provides an automated shutdown procedure that a superuser can use to notify ftp users when the ftp server is shutting down. This command will create a shutdown message file in the path specified by the 'shutdown' directive in the file in the real, anonymous and virtual user accounts. For guest accounts the system administrator must copy the message file created in the real user account to the guest accounts manually. The server will check this file regularly to see if the server is going to be shut down. This option causes the program to display copyright and version information, then terminate. This option is used as deny_offset. New FTP access is disabled 'min' minutes before shutdown. The default value of 'min' is 10 minutes. This value can be reset by the user. This option is used as disc_offset. All current FTP connections will be dropped 'min' minutes before shutdown. The default value of 'min' is 5 minutes. This value can be reset by the user. time time, is the time at which the ftp server will be shutdown. If is set to the word `now' the shutdown will be immedi- ate. time can also be set to a future time. Future time can be specified in one of the two formats: + number or HHMM. The first format brings the ftp servers down in number minutes. The second format brings the ftp servers down at the time of day indicated, using a 24-hour clock format. warning-message The warning-message is the message the server will flash to its clients on shut down. The user can use a message of his choice or use the 'macros' or 'magic cookies' that are available. The server will replace the macro with the specified text string. The warning-message will be formatted to be 75 characters long, including the length of any expanded macros ("magic cookies"). The default warning message is "System shutdown at %s". The following magic cook- ies are available: %s time system is going to shut down %r time new connections will be denied %d time current connections will be dropped %C current working directory %E the maintainer's email address as defined in ftpaccess %L local host name %M maximum allowed number of users in this class %N current number of users in this class %R remote host name %T local time (form Thu Nov 15 17:12:42 1990) %U username given at login time WARNINGS
You can kill the servers only between now and 23:59, if you use the absolute time for EXIT STATUS
returns: 0 successful 1 failure -1 the wrong parameter was passed to AUTHOR
was developed by the Washington University, St. Louis, Missouri. SEE ALSO
ftpaccess(4) ftpshut(1)
All times are GMT -4. The time now is 03:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy