1
vote
1answer
48 views

backup user accounts without giving a home directory to them

I am reinstalling the older Ubuntu machines with the latest RHEL 6.0 in servers. I have /etc/passwd and /etc/group and /etc/shadow file backed up for the list of user accounts that I need to create ...
1
vote
1answer
124 views

HOWTO check if a user account is blocked against /etc/shadow

After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days. Right now, the ...
10
votes
4answers
2k views

What are the dangers of creating a normal user with UID < 500?

What are the dangers of creating a normal user with UID < 500? Assuming the UID's are not duplicates of existing UID's, what could go wrong? This is not something that I want to do, but something ...
0
votes
2answers
57 views

Local mail delivery not working

We are using RHEL 6.1 server. We need to send a mail from server to local domain (tcs.com). we are using mail command for this purpose. [bsoauser@hsluabsoa ~]$ echo "hi" | mail -s "test" ...
2
votes
1answer
52 views

How do I set a newly created user account to NOT prompt the user to change their password?

I created a new user account, but the user is prompted to change their password on first login. I don't want them to change their password, I want them to use the password they were assigned. How do ...
0
votes
3answers
221 views

How to stop regular users from Switching Users

I want to stop the normal users from using following commands /bin/bash /usr/bin/sudo /bin/su I added them in sudoers file but normal user can still use the following command This is how i add the ...
7
votes
1answer
841 views

How to stop users from Switching to Root user

I have disabled the root user login from Sshd.conf file so now no one can login using root user even if they know the password SOMEHOW. Now I have 3 users in server ROOT,EMERG and ORACLE. I want to ...
0
votes
0answers
367 views

How to switch user if the Screen is Lock

Sometime this happen that when I had to do something on server I find that the screen is lock and I dont know the password of that user to unlock it and switch the user. So i need to know that How to ...
3
votes
0answers
555 views

recommended procedure to create a user/group during RPM install

after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community - I need to ensure that some users and groups exist after the ...
1
vote
3answers
183 views

User's name appears as “bash-3.0” on SSH shell

I am working on a Redhat server and one of the users' names appears as "bash-3.0" on the "SSH Secure Shell Client." His name is appearing correct under /etc/passwd. How could this happen? How can I ...
5
votes
1answer
480 views

Run script when specific users logout

I need to run my application in screen when specific users are logged out and kill the screen when someone from my user list logged in. So I am thinking about bash script, which will be called ...
10
votes
4answers
15k views

can we know the password for the other users if we have root access?

If a person has root access to a particular RHEL machine, will they be able to retrieve the password of the other users?