After install linux and configured a user to what I want (e.g.
Desktop settings, Firefox settings etc.) - how can I copy this entire setup to a newly create user?
Appreciate any advise.
hi guys
i was taught that /etc/profile was global for environmental variables and settings...and ~/.profile was specific to the user...
and that bash.rc and ~/.bash.rc was for aliases and functions...i was trying to setup a permanent alias in my profile to a common ssh command and read that it should be going into .profile??? is it really not strict or just a rule of thumb?
What are the recommended best security practices for using Firefox on a new Linux system (Centos 7 in my case)? I only access the web using Firefox using my regular, non-root, account. Other than that, what Firefox and/or system settings should I enable/disable in order to safeguard my system from malware scripts, viruses, etc? Also, are there similar Thunderbird settings that should be enabled/disabled?
Thanks in advance from a new Linux user
hi experts
I am rsyncing a user's home dir across the NFS and the local PC, but when it tries to copy over the hidden files it fails with permission denied. Both dir are owned by the proper user and I am root when I execute the script, so I am not sure what went wrong here.
For example: this is the content and permissions of the source:
-rw------- 1 user test 115 Nov 14 11:28 .bash_history
and here is my error:
rsync: send_files failed to open "/home/user/.bash_history": Permission denied (13)
Thanks
Hi,
In first place i would like to give you a brief about my current setup and my requirement.
I have 80% of the machines with CentOS 6.5 installed rest 20% windows 7. I have OpenLDAP v2.4 for user authentication.
In linux environment all linux machines are configured in such a way that whenever a user logs on to system with the help of OpenLDAP credentials he gets a default desktop rather Mandatory Profile is implemented in this setup. Now my goal is to enable OpenLDAP users logon to windows machines and get the same Mandatory profile setup done here. So far SambaPDC helped me to authenticate LDAP accounts on Windows clients machines but the Manadatory profile thing isn't working well at all due to posix acls issue. Now i am working with Windows Server 2012 r2 server so as to integrate with OpenLDAP for getting this Mandatory profile thing done. Is there any way i can sync all OpenLDAP accounts to Active directory or rather make my windows server a member server for OpenLDAP domain.
Please help me on this. Thanks in advance!!
Hi
I am logged in as root and i am have issues creating a new user
su - /usr/sbin/useradd paulg
Comes back with the error:
su: user /usr/sbin/useradd does not exist
Any ideas please as I need to create myself a user with root privileges
Cheers
Hi. When I ran #useradd -m -s /bin/bash -G áudio,lp,video, wheel,scanner -U user
#passwd user
I forgot to have the /home mounted (shame on me)
so now there is not a /home/user (directory) so user cannot start the X
how can I fix it?
thank you!
Hello,
I just configured proftpd and it's working fine, but i had a doubt "How to create a new user list" and also how to create a new login form by that clients can create their own account without the knowledge of admin, and the information about the user need to store in server. Anyone tried the above scenario? If yes please let me know how!
Changing umask value for files and directories take effect after reload:
/etc/profile
/etc/bashrc
default permission for all users:
-rw-r--r--
above permission is edited to:
-rw-rw-r--
If a specific user in group having only read permission to a file/directory is created before reload,and Linux server reloads, that user gets rw permission to that file/directory. what is the alternative of securing:
/etc/profile
/etc/bashrc
apart from giving the two files access to root user only, and locking out all other users?
I am writing a script to check the log file in /var/log , some files are only read by root , but the script use general user to access the system ( as the system do not accept root to ssh directly ) , therefore , it could not read such files .
Would advise what is the best method to solve this problem , copy the file to a special folder ? allow root to ssh ? create a user with root permission ?
very thanks
Wow, I got my new Linux pc yesterday and it's very very fast. It's faster than my new MacBook.
So I go to the user account which also says administrator so I'm presuming that's the root owner?????? and I typed in my name and changed the password. The guy who sold it to me named the password user and the computer user. Yet when I go to the terminal my username and computer is still called user@user
How do I change the root password and computer name?