Sponsored Content
Operating Systems Linux Red Hat How to check local accounts have root and user access rights ? Post 302753115 by Scrutinizer on Tuesday 8th of January 2013 05:48:52 AM
Old 01-08-2013
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to prevent local root from su to an NIS user?

We have a shared development box, running Solaris 10 that is an NIS client, all the developers have local root password. If they know the NIS uid of another user, they can just do % useradd -u <uid> login And then log in as that user and have full access to his files in his home directory. ... (3 Replies)
Discussion started by: nfw
3 Replies

2. UNIX for Dummies Questions & Answers

User Access Rights

Hi Folks, My problem is an easy one for the experts here. All my applications run using a user id that creates files with only the following default rights: -rw-r----- I want to modify this user's account such that it creates files that assign read access to the everyone group by default:... (7 Replies)
Discussion started by: umairrahman
7 Replies

3. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

4. Shell Programming and Scripting

switch user from local user to root in perl

Hi Gurus, I have a script that requires me to switch from local user to root. Anyone who has an idea on this since when i switch user to root it requires me to input root password. It seems that i need to use expect module here, but i don't know how to create the object for this. ... (1 Reply)
Discussion started by: linuxgeek
1 Replies

5. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

6. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

7. UNIX for Dummies Questions & Answers

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies

8. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

9. Red Hat

NFS share full access for local user

Hi All, Is it possible to give full access for a normal user in a NFS share? If its not possible is there a trick with which I can make it work? Thanks in advance Shyam (1 Reply)
Discussion started by: shyam2j
1 Replies

10. Shell Programming and Scripting

How to Switch from Local user to root user from a shell script?

Hi, I need to switch from local user to root user in a shell script. I need to make it automated so that it doesn't prompt for the root password. I heard the su command will do that work but it prompt for the password. and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 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 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy