Is there a way to find users that aren't being used? Maybe the last login? Something to this effect??
In our environment i have to ssh to each an every servers
ssh <hostname> then which prompts for password for every login
i have to create a user name on 30 severs manually it takes much time so need a script to do this task i have googled and found some for loop scripts but it did not fullfill the requirement.
First i have to check whether the users exists and not and later add the user or reset the password for user using script
I got this message when I issued users-admin in terminal.So I wanna know how to fix it. My machine is running Debian 7.5 Weezy + kali 1.0.9.
Thanks in advance.
(users-admin:11501): Gdk-WARNING **: users-admin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
I'm a total total noob who is trying to download Linux Mint on a Mac OS X using a USB drive. I know there is some way to go into terminal and convert the iso file but I don't know how.
Here's the things I have tried so far: 1. sudo dd bs=4M if=[linuxmint-17.1-cinnamon-64bit.iso] of=/dev/disk2s1 (result: dd: bs: illegal numeric value)
~/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.img ~/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.iso -bash: /Users/[my name]/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.img (result: No such file or directory)
Maybe for #1 the "/dev/disk2s1" part is wrong? How do I find the number for the USB that goes after "dev/sd"? (I can only find "dev/disk2s1").
I have also tried to just mount/unmount the USB and drag the iso file into source/destination, to no avail.
Thanks so much!
I am toying around with a LFS system and I am suddenly having trouble with sudo not finding binaries in the standard superuser only binary dirs (/sbin /usr/sbin). I am using sudo version 1.8.10p3. The sudoers file parses correctly and I did not modify except to allow users in the wheel group to be able use sudo to call any command. So I imaging something is wrong with the $PATH variable but I am not sure on what it is.
hi guys,
busy doing a small project with a centos7 server and virtualbox.
currently i have a login to the physical server called sninja
i have three partitions created for each of my virtual machines
sninja owns the directories for each vm...and root is the primary group...now lets say i wanted to have other users perform functions on my vm's ..ssh in,rsync data into the vm etc...
whats the best way to address security and user accounts etc?
what i was thinking:
create a group called Myusers1,then assign the users to that group and then make the group the primary group of the accessed directories etc
is this the right way to go about it? any ideas or help really appreciated...
Hi Everyone,
I world like to know something about NIS server.
Recently i have configured NIS MASTER and SALVE in our environment. I have created users on NIS master and able to login on NIS master and NIS client but not on NIS SALVE(Already updated database /usr/lib64/yp/ypinit -s NISMASTERSERVERNAME).
Second thing i would like to know, if Master NIS will be down then can i reset users password from NIS SALVE server.
Thanks
Vinay Charles
So right now in some of my servers, some of my users are in the Wheel group and then I have some users who fall under /etc/sudoers. Don't have any consistency, however I want to change that.
I know that wheel group is legacy.
SUDO gives an audit trail I believe under /var/log/secure.
I'm wondering what others have experienced and setup which worked better in the long run, place users either in wheel group or in SUDO?
Hey guys, I got samba working and I am able to access my files, however I am now trying to learn security with it. i am pretty much trying to allow certain groups access certain files. if you look at samba group you can see that I have @sambausers group to access sambagroup directory.
I have a user called sambatest01. the user can access "samba users only" but the user can access all of the other files as well. what is a correct set up on the other smb.conf to prevent users from accessing this? I cant seem to find a proper set up
[drivers]
path = /files/drivers
browseable = yes
read only = no
guest ok = no
guest only = no
[samba users only]
path = /files/sambagroup
browseable = yes
read only = no
guest ok = no
guest only = no
write list = @sambausers
valid users = @sambausers
Hi,
First I want to inform you that I'm running a RHEL 6.5 system.
I have some questions about the /etc/login.defs file. Does this file apply to all the users on the system, or does everyone have separate files?
I want to change the PASS_MAX_DAYS value from 99999 to 90 for all users on the system and wonder whats the correct way to do this? I noticed that after I changed this file manually it doesn't work. When typing "chage --list [username]" it shows a completley different value. Also, after managing this file, do I have to restart/reload some daemons or services to make it happen?
Could someone give me some good advice in this issue?
Thank you in advance.
/Lux
I am trying to login to my linux server. I was initially doing "ssh hostname". The login did not work, so I tried "ssh username@IP", which still prompted me with the yes/no prompt, but I received this error:
Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
XX:XX...:XX.
Please contact your system administrator.
Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/user/.ssh/known_hosts:5
RSA host key for 192.168.1.3 has changed and you have requested strict checking.
Host key verification failed.