Red Hat :: Create Multiple User At A Time In Rhel?

Feb 21, 2011

How can i create multiple users at a time in rhel?

View 2 Replies


ADVERTISEMENT

Red Hat / Fedora :: Create Multiple User Account With UID?

Mar 15, 2011

Our requirement is to create multiple user account with UID:-

/tmp/users.txt
rohit
guna
samsir

like this 100 user names in /tmp/users.txt file

/tmp/uid.txt
2001
3789
1000134
like this 100 UID's in /tmp/UID.txt file

The script should take input from both the files and create user account. for example user account rohit should have an UID of 2001 and user samsir should have an UID of 1000134.

View 2 Replies View Related

Programming :: BASH - Create User And Password On Multiple Machines

Aug 9, 2010

I'm trying to write a script that will prompt the user for a username/password, then create that user/password in the right groups on all my machines. I know this is kind of a long way around to avoid a NIS server, but I like making my life more difficult.

This is what I have so far:

Code:

the script has 2 problems: The "if" functions return an error and do not compare the strings successfully. whatever password is entered does get applied properly and the user is unable to login

View 7 Replies View Related

OpenSUSE :: Software To Display Time From Multiple Time Zones?

Jun 15, 2011

I'm looking for a program that will digitally display the time in three different cities - all showing at once. I don't care if it is a panel applet or stand-alone. I'm using Suse 11.3 and Gnome.

View 5 Replies View Related

General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.

[Code]...

View 1 Replies View Related

General :: Get The Values For The User Time And System Time For A Process?

Aug 4, 2009

get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct

View 3 Replies View Related

Red Hat :: Installing Postfix On RHEL For Multiple Domains?

Nov 23, 2009

I've sifted through hundreds of Google results, but I cannot seem to find a tutorial or how-to for installing and configuring Postfix on Red Hat Enterprise for use with multiple domains. We have a web server serving four websites so far. Each of these websites has their own domain that they'll require email for.

View 3 Replies View Related

Ubuntu :: Why The User Created At Installation Time Is A Custom User Instead Of An Administrator

Oct 31, 2010

why the user created at installation time is a Custom User instead of an Administrator.

View 4 Replies View Related

General :: Restore RHEL 5 At Boot Time?

Aug 12, 2010

I am running RHEL 5 on Vmware Workstation. That is i inslled Vmware Workstation on windows 7 and then in Vmware i installed RHEL 5 as a virtal machine. By mistake i made some wrong entry in my /etc/fstab file that is i was trying to automatically mount one folder under another folder. My syntax was wrong. So when i restart my RHEL 5 , at the boot time due to wrong entry in /etc/fstab system is giving file system error as follows:

Checking filesystems
fsck.ext3: Unable to resolve 'LABEL=/home/download'
fsck.ext3: Unable to resolve 'LABEL=/var/ftp/uploads'
[FAILED]
[code]....

View 1 Replies View Related

Ubuntu :: Made An Error With Chmod - Create User But Don't Allow To See The Other User's Home Folder

Jan 18, 2010

I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"

View 9 Replies View Related

General :: Create User Add File With Default Password And Force User To Change It?

Feb 2, 2010

I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?

View 3 Replies View Related

Ubuntu :: Create A New Administrative User Of Change The Current User's Group

Sep 3, 2010

This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?

View 1 Replies View Related

Debian Installation :: How To Create A New User Called Mesk As FTP User

Sep 3, 2014

I have just installed vsftpd on my debain server..I want to know how can I create a new user called mesk as FTP user and set a home page to some folder on my server? I tried this:

Code: Select allhtpasswd -c /etc/vsftpd/passwd mesk but got: cannot create file /etc/vsftpd/passwd.

View 3 Replies View Related

Software :: Create User Without Creating User Home Directory?

May 12, 2011

i have rhel 5.2 and i want to create user using useradd command without creating user home directory and not throwing any warning/error about not creating any home directory.i have tried useradd -u "$NEW_UID" -g <gid> -d "/home/$1" -M "$1"where $1 is user name and $NEW_UID is i am calculating.it throws error as useradd: cannot create directory /home/$1which i dont want to come , how to prevent this?

View 1 Replies View Related

General :: RHEL - Create Custom RPM ?

Dec 25, 2010

Create a rpm that installs a script like hello.sh into /root/bin with the permissions 755? I've tried a few ways with rpmbuild but no luck.

View 3 Replies View Related

General :: Create RAID In Rhel-5

Apr 22, 2010

how to create RAID-1 in rhel-5

View 2 Replies View Related

Security :: Create A User And Limit User To A Directory?

Apr 15, 2009

I've been looking for this feature for months and couldn't find a solution for this. Does anyone know how to create users and limit the user to a specified directory?

View 6 Replies View Related

General :: Create A DHCP Server In RHEL 5.1?

Oct 14, 2010

commands to create a DHCP server in RHEL 5.1

View 3 Replies View Related

Server :: How To Create Kernel Dump On RHEL 4.7

Jan 11, 2011

My application team is asking me to generate the kernel-dump.

Here are details about my server.
OS: RHEL 4.7/32 Bit
Kernel Version: 2.6.9-89.0.23.ELsmp
Processor: Intel(R) Xeon(R) CPU E5520@ 2.27GHz
Hardware: HP Proliant 380G6 series server.

I am using Electric Cloud applications. Sometimes it creates some kernel panic and immediately got rebooted. Kernel-debuginfo rpm is not installed. In some thread, I read the kernel-debuginfo rpm's version should match with the kernel version. In my case I couldn't even find the exact version of kernel-debuginfo version.

View 4 Replies View Related

Software :: Create A Softlink When Building An Rpm In RHEL 5.5?

Apr 18, 2011

I am trying to build an tk.8.4.19 with the rpmbuild command. In the spec file there is a make command that uses the supplied Makefile that builds tk and untars it to the build directory /usr/src/redhat/BUILD/tk_8.4.19/unix .

The issue is that /usr/bin/wish is compiled with the make command and renamed to wish8.4, , and when the rpm does build it does not contain the link /usr/bin/wish -> /usr/bin/wish8.4 and there are other custom rpms on our systems (built by other people) that call /usr/bin/wish.

I have tried adding the ldconfig ln -sf /usr/bin/wish8.4 /usr/bin/wish in the %install and %build directives, it is in the tar file. I have tested it by creating the tar with the link and creating a null file call wish but it never gets built into the rpm. Whenever I call out /usr/bin/wish in the %file directive the rpm wont build.

I believe it will install and create the link if I tell it to ignore or skip the prereq check. That requires options to the yum command but it creates a problem because I need to to work with yum -y install <tk> or yum -y upgrade <tk> through a unattended script.

Bottom line is that I need the file to exist in the rpm or after the install and yum needs to be aware that /usr/bin/wish link is there so it doesn't require an override option during install.

View 1 Replies View Related

General :: Black Screen Getting After Some Time Login When Connecting Through Vnc To Rhel 5.3?

Mar 25, 2010

as after connecting thru vnc (any tightvnc or real vnc),after some time of the connecting the Linux server RHEL 5.3,screen goes black screen with X mouse movement,getting after some time login all the things are visible even we can open the terminal & any application thru taskbar option,but after some time the screen goes black with big X. eventhough I tried to disable the screen saver option then also is happening.

View 1 Replies View Related

Software :: Remaining Time Or % While Copying Big Size Files In RHEL?

Mar 7, 2011

I have a doubt, is there any switch will display remaining time or % while copying (big size files) in RedHat Linux? Example 50 Minutes remaining) / 45% remaining

View 3 Replies View Related

General :: Can't Run Another App With Other RHEL 4 System User / Get It?

Apr 13, 2011

I'm Pab, just like to know, How can I allow a new user to run specific software like sqlplus.

Scenario:

I have an oradb@database user where i can execute sqlplus /nolog command, but when i created a new user named allan@database the bash says....-bash:sqlplus: command not found.

View 2 Replies View Related

General :: Create A New Terminal Window From The Command Line In RHEL 5.3

May 18, 2011

I use putty to get to my RHEL 5.3 workstation from my Windows laptop.

Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.

QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.

In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?

View 3 Replies View Related

Red Hat :: Viewing User Activity / History Log In RHEL 5.2

Apr 27, 2011

Is there any way to view the any user activity/ commands history and date, time in the system? I look at the /var/log/secure but I can find only the login/ logout attempts and "history" command doesn't come with date/time that the user issue the commands. Any there any best practice to audit the user activities inside the system?

View 9 Replies View Related

Red Hat / Fedora :: RHEL 5 Dual Networking - Ethx (0,1) Devices Are Brought Up Be Changed At Boot Time

Jun 3, 2010

I'm having an issue with dual networking on RHEL 5. My initial question is can the order the ethx (0,1) devices are brought up be changed at boot time, so I could bring up eth1 before eth0?

Some background: eth0 is DHCP'd and using DNS, basically this is my primary network. eth1 is an isolated subnet, with a manually configured IP which has no connection to eth0 or the outside world. When I bring up networking it first brings up eth0 and then eth1, what happens is eth1 becomes the 'primary' network of the host and I lose my connection to DNS/NFS/NIS and the outside world.

If I login and manually bring up eth1 first, then eth0 everyone is happy and connections work. So, I'm looking for a solution to either bring up eth1 before eth0 or somehow make eth0 my primary IP and not have it be clobbered by eth1.

View 2 Replies View Related

Red Hat / Fedora :: To Restrict User Login On RHEL 5.3 Cluster

Aug 23, 2010

Does anyone know how to restrict only certain users to log into my RHEL 5.3 cluster? I have tried using pam.d but no luck.

View 3 Replies View Related

General :: Not Receiving Mails From Only Root User In RHEL 4.5

Nov 18, 2010

I am using Red Hat Enterprise Linux AS release 4 (Nahant Update 5)and i am using send mail also..The issue is:
i am able to send emails from all OS users but unable to send mail from root user.(I am receiving mails if i send mails from all users except root user)what could be the issue?

View 1 Replies View Related

General :: Measure Kernel Space Time And User Space Time?

Nov 28, 2010

measure kernel space time and user space time?

View 1 Replies View Related

Red Hat / Fedora :: Login - Error "no Profile For The User Can Be Found And It Couldnt Create Per-user Gnome Configuration Directory"

Aug 8, 2010

I have a network set up that has been working for around a year with no problems but has now developed a login problem. The system was set up with a main server with all users on it and another PC located elsewhere that people could log onto using there personal login and password that then gained access to the account on the main server. This remote PC has now got the problem. When you try to log onto an account it comes up with the message "your session has lasted less than 10 seconds. If you have not logged out yourself this could mean there is a installation problem or that you are out of disk space."

Error message says that no profile for the user can be found and it couldnt create per-user gnome configuration directory. I can log on as root onto the remote PC as it is obviously a local account but all the account on the main server are not accessible. From the root account I can see that the connection to the server is OK and I can actually log into the accounts on the server using the failsafe session so the physical network is OK.

I never built or designed this set up and to be honest I normally work with windows so its all a bit strange to me. Both PC's run Centos 5. I have checked the messages log and there doesnt seem to be any indication of a problem. Just that it stopped connecting from the remote PC. The accounts are all active on the main server itself and have no problems being accessed.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved