updating files in SecureLVE
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Aleksey Mykhailov
  2. Wednesday, 02 March 2011
  3.  Subscribe via email
Howdy!
I changed main system files /etc/hosts and /etc/resolv.conf how to update this in SecureLVE container ?
securelve_update/init didn\'t help
Rate this post:
  1. 02.03.2011 16:03:01
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
you will need to do securelve_init first, and then rerun: securelve_user <username> for each user
We will provide short cut in the future versions.
  1. 02.03.2011 16:03:34
  2. # 2
Aleksey Mykhailov Accepted Answer
Posts: 3
Joined: 20.02.2011
0
Votes
Undo
[[email protected] ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.40.95.243 pl0.srv.example.com pl0
8.8.8.8 goooooooooogle.com
::1 localhost6.localdomain6 localhost6
[[email protected] ~]# securelve_init
/usr/share
/usr
Device /usr/share/securelve-skeleton/dev/urandom does exist already
Device /usr/share/securelve-skeleton/dev/random does exist already
Device /usr/share/securelve-skeleton/dev/tty does exist already
Device /usr/share/securelve-skeleton/dev/null does exist already
[[email protected] ~]# securelve_user user1000
[[email protected] ~]# su - user1000
sh-3.2$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 pl0.srv.oldhost.com pl0 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
sh-3.2$


doesn\'t work :(

also it even doesn\'t work with this command

securelve_user -u user1000 &&  securelve_user user1000
  1. 02.03.2011 16:03:43
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Could you check what is in /usr/share/securelve-skeleton/etc/hosts

maybe that is the file that is not updating -- if that is the case, just copy it manually/fix it there, and re-run:
securelve_user <username>
  1. 02.03.2011 17:03:48
  2. # 4
Aleksey Mykhailov Accepted Answer
Posts: 3
Joined: 20.02.2011
0
Votes
Undo
yes, this file outdated ...
I\'ve removed it and rerun securelve_init again, then securelve_user <username>
after this hosts has been updated

is it normal behaiveiaour ?
  1. 02.03.2011 20:03:10
  2. # 5
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
It is a bug.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.