chattr

Статус
В этой теме нельзя размещать новые ответы.

Tele2

Гуру форума
Регистрация
14 Апр 2006
Сообщения
784
Реакции
95
Пытаюсь сломать ideco server, под рутом выполняю chattr -i -R /mnt/ro_disc
Но мне возвращает результат read-only. Что можно сделать?
Так же есть проблема. Существуешь пользователь sysadm, Но он отключен. Как мне его включить?
 
whoami
mount

выдачу команд - на экран

P.S. Если там подмонтирован CDR, то фиг ты его перезапишешь :)
 
Код:
[root@vpn-mydomain-ru root]# whoami
root
[root@vpn-mydomain-ru root]#

Код:
[root@vpn-mydomain-ru root]# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
/proc on /proc type proc (rw)
/dev/hdb1 on /mnt/ro_disc type ext3 (rw)
none on /dev/pts type devpts (rw)
none on /mnt/ro_disc/chroot_pptpd/dev/pts type devpts (rw)
none on /mnt/ro_disc/chroot_sysadm/dev/pts type devpts (rw)
/dev/hdb3 on /mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/bk_disc type ext3 (ro)
tmpfs on /mnt/rw_disc/tmp/tmpfs type tmpfs (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_sysadm/lib type ext3 (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/stat type proc (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/pci type proc (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/loadavg type proc (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/meminfo type proc (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/net/dev type proc (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/net/arp type proc (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_sysadm/usr/local type ext3 (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_sysadm/usr/lib type ext3 (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_sysadm/usr/kerberos type ext3 (rw)
/dev/hdb4 on /mnt/ro_disc/chroot_sysadm/mnt/bk_disc type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_sysadm/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb1 on /mnt/ro_disc/chroot_sysadm/etc/.shadow type ext3 (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_sysadm/etc/version type ext3 (rw)
tmpfs on /mnt/ro_disc/chroot_sysadm/mnt/rw_disc/tmp/tmpfs type tmpfs (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/ide type proc (rw)
/proc on /mnt/ro_disc/chroot_sysadm/proc/partitions type proc (rw)
/dev/hdb4 on /mnt/ro_disc/chroot_pptpd/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_pptpd/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_pptpd/tmp/.winbindd type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_pptpd/var/cache/samba type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_dhcpd/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_dhcpd/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb1 on /mnt/ro_disc/chroot_postfix/usr/libexec/postfix type ext3 (rw)
/dev/hdb4 on /mnt/ro_disc/chroot_postfix/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_postfix/etc/resolv.conf type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_postfix/var/spool type ext3 (rw,noatime)
/dev/hdb1 on /mnt/ro_disc/chroot_postfix/lib type ext3 (rw)
/dev/hdb3 on /mnt/ro_disc/chroot_postfix/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/tmp type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/var/log type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_firebird/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/etc/resolv.conf type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/var/db type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/var/dbstat type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/var/lock/firebird type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_firebird/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_teapop/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_teapop/var/spool/mail type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_teapop/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_L/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_thttpd_L/mnt/bk_disc/var/www/local/htdocs type ext3 (ro)
/proc on /mnt/ro_disc/chroot_thttpd_L/proc/loadavg type proc (rw)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_L/tmp type ext3 (rw,noatime)
tmpfs on /mnt/ro_disc/chroot_thttpd_L/tmp/tmpfs type tmpfs (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_thttpd_L/lib type ext3 (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_thttpd_L/usr/lib type ext3 (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_thttpd_L/usr/kerberos type ext3 (rw)
/dev/hdb4 on /mnt/ro_disc/chroot_thttpd_L/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_L/etc/resolv.conf type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_L/etc/hosts type ext3 (rw,noatime)
/dev/hdb1 on /mnt/ro_disc/chroot_mysqld/usr/share/mysql type ext3 (rw)
/dev/hdb4 on /mnt/ro_disc/chroot_mysqld/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_mysqld/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_mysqld/var/lib/mysql type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_E/var/www/internet type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_E/var/log type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_thttpd_E/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_E/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_E/var/lib/mysql/sock type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_E/etc/resolv.conf type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_thttpd_E/etc/hosts type ext3 (rw,noatime)
/dev/loop0 on /mnt/ro_disc/chroot_thttpd_L/var/www/maildata type ext3 (rw)
/dev/loop0 on /mnt/ro_disc/chroot_thttpd_E/var/www/maildata type ext3 (rw)
/dev/hdb1 on /mnt/ro_disc/chroot_thttpd_E/var/www/mail type ext3 (rw)
/dev/hdb3 on /mnt/ro_disc/chroot_ntpd/etc/resolv.conf type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_ntpd/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_ntpd/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_ntpd/var/log/ntpd type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_ftp/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_ftp/mnt/rw_disc/var/log type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_ftp/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_ldap_authd/var/run type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_ldap_authd/var/log type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_ldap_authd/etc/localtime type ext3 (ro)
/dev/hdb4 on /mnt/ro_disc/chroot_ldap_sync/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_tray_srv/var/run type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_tray_srv/var/log type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_tray_srv/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_clamd/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_clamd/etc/localtime type ext3 (ro)
tmpfs on /mnt/ro_disc/chroot_clamd/tmp/tmpfs/clamd type tmpfs (rw)
/dev/hdb4 on /mnt/ro_disc/chroot_winbindd/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_winbindd/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_drweb/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_drweb/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_drweb/etc/hosts type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_drweb/etc/resolv.conf type ext3 (rw,noatime)
tmpfs on /mnt/ro_disc/chroot_drweb/tmp/tmpfs/drweb type tmpfs (rw)
tmpfs on /mnt/ro_disc/chroot_postfix/mnt/rw_disc/tmp/tmpfs/drweb type tmpfs (rw)
/dev/hdb3 on /mnt/ro_disc/chroot_postfix/var/drweb type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_postfix/etc/drweb type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_drweb/opt/drweb/maild/plugins type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_radiusd/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_radiusd/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_bind/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_bind/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_bind/etc/hosts type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_bind/etc/resolv.conf type ext3 (rw,noatime)
tmpfs on /mnt/ro_disc/chroot_clamd/tmp/tmpfs/icap type tmpfs (rw)
/dev/hdb3 on /mnt/ro_disc/chroot_squid/mnt/rw_disc type ext3 (rw,noatime)
/dev/hdb4 on /mnt/ro_disc/chroot_squid/etc/localtime type ext3 (ro)
/dev/hdb3 on /mnt/ro_disc/chroot_squid/etc/resolv.conf type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/chroot_squid/etc/hosts type ext3 (rw,noatime)
/dev/hdb3 on /mnt/ro_disc/etc/dnrd/hosts type ext3 (rw,noatime)
 
Ты в чруте
Попробуй для начала из него выйти
 
Для входа в SAFEMODE:
ICServer sm=1 p=12345678
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху